Create an error response
(message: S)
| 312 | |
| 313 | /// Create an error response |
| 314 | pub fn error<S: Into<String>>(message: S) -> Self { |
| 315 | Self::Error { |
| 316 | message: message.into(), |
| 317 | } |
| 318 | } |
| 319 | |
| 320 | /// Create a list response |
| 321 | pub fn list(items: Vec<Value>) -> Self { |
nothing calls this directly
no outgoing calls
no test coverage detected