(code: &str, message: &str)
| 179 | } |
| 180 | |
| 181 | fn sqlstate(code: &str, message: &str) -> PgWireError { |
| 182 | PgWireError::UserError(Box::new(ErrorInfo::new( |
| 183 | "ERROR".into(), |
| 184 | code.into(), |
| 185 | message.into(), |
| 186 | ))) |
| 187 | } |
| 188 | |
| 189 | fn internal(e: crate::Error) -> PgWireError { |
| 190 | // Surface error string but never echo deserializer context — the |
no outgoing calls
no test coverage detected