Create an error response.
(msg: impl Into<String>)
| 45 | |
| 46 | /// Create an error response. |
| 47 | pub fn err(msg: impl Into<String>) -> Self { |
| 48 | Self::Error(msg.into()) |
| 49 | } |
| 50 | |
| 51 | /// Create an integer response. |
| 52 | pub fn integer(n: i64) -> Self { |
no test coverage detected