Extract error message from an error response
(&self)
| 352 | |
| 353 | /// Extract error message from an error response |
| 354 | pub fn error_message(&self) -> Option<&str> { |
| 355 | match self { |
| 356 | Self::Error { message } => Some(message), |
| 357 | _ => None, |
| 358 | } |
| 359 | } |
| 360 | |
| 361 | /// Extract items from a list response |
| 362 | pub fn items(&self) -> Option<&[Value]> { |
nothing calls this directly
no outgoing calls
no test coverage detected