Create a query error
(msg: S)
| 56 | impl IndexError { |
| 57 | /// Create a query error |
| 58 | pub fn query<S: Into<String>>(msg: S) -> Self { |
| 59 | Self::QueryError(msg.into()) |
| 60 | } |
| 61 | |
| 62 | /// Create a configuration error |
| 63 | pub fn config<S: Into<String>>(msg: S) -> Self { |