Enum phper::errors::Error [−][src]
pub enum Error { Io(Error), Utf8(Utf8Error), FromBytesWithNul(FromBytesWithNulError), Other(Error), Type(TypeError), ClassNotFound(ClassNotFoundError), ArgumentCount(ArgumentCountError), StateType(StateTypeError), CallFunction(CallFunctionError), CallMethod(CallMethodError), InitializeObject(InitializeObjectError), NotRefCountedType(NotRefCountedTypeError), }
Expand description
Crate level Error, which also can become an exception in php.
As a php exception, will throw ErrorException
when the item not implement Throwable.
Variants
Io(Error)
Utf8(Utf8Error)
FromBytesWithNul(FromBytesWithNulError)
Other(Error)
Type(TypeError)
ClassNotFound(ClassNotFoundError)
ArgumentCount(ArgumentCountError)
StateType(StateTypeError)
CallFunction(CallFunctionError)
CallMethod(CallMethodError)
InitializeObject(InitializeObjectError)
NotRefCountedType(NotRefCountedTypeError)
Implementations
An essy way to cause an anyhow::Error.
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Auto Trait Implementations
impl !RefUnwindSafe for Error
impl !UnwindSafe for Error