(&self)
| 109 | |
| 110 | impl Error { |
| 111 | pub fn message(&self) -> &str { |
| 112 | match self { |
| 113 | Self::Type(s) | Self::Value(s) | Self::Runtime(s) |
| 114 | | Self::Attribute(s) | Self::Index(s) | Self::Key(s) => s, |
| 115 | Self::Custom { message, .. } => message, |
| 116 | } |
| 117 | } |
| 118 | pub fn kind(&self) -> u32 { |
| 119 | match self { |
| 120 | Self::Type(_) => 0, |
no outgoing calls
no test coverage detected