commit
7fe59d9f90
|
@ -147,7 +147,7 @@ impl<T: InputValueType, E: Display> From<E> for InputValueError<T> {
|
||||||
pub type InputValueResult<T> = Result<T, InputValueError<T>>;
|
pub type InputValueResult<T> = Result<T, InputValueError<T>>;
|
||||||
|
|
||||||
/// An error with a message and optional extensions.
|
/// An error with a message and optional extensions.
|
||||||
#[derive(Debug, Clone, Serialize)]
|
#[derive(Debug, Clone, PartialEq, Eq, Serialize)]
|
||||||
pub struct Error {
|
pub struct Error {
|
||||||
/// The error message.
|
/// The error message.
|
||||||
pub message: String,
|
pub message: String,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user