pub enum OMLCodeReason {
Syntax(String),
NotFound(String),
Uvs(UnifiedReason),
}Variants§
Implementations§
Source§impl OMLCodeReason
impl OMLCodeReason
pub fn core_conf() -> Self
pub fn feature_conf() -> Self
pub fn dynamic_conf() -> Self
pub fn validation_error() -> Self
pub fn business_error() -> Self
pub fn rule_error() -> Self
pub fn not_found_error() -> Self
pub fn permission_error() -> Self
pub fn data_error() -> Self
pub fn system_error() -> Self
pub fn network_error() -> Self
pub fn resource_error() -> Self
pub fn timeout_error() -> Self
pub fn external_error() -> Self
pub fn logic_error() -> Self
Trait Implementations§
Source§impl Clone for OMLCodeReason
impl Clone for OMLCodeReason
Source§fn clone(&self) -> OMLCodeReason
fn clone(&self) -> OMLCodeReason
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OMLCodeReason
impl Debug for OMLCodeReason
Source§impl Display for OMLCodeReason
impl Display for OMLCodeReason
Source§impl ErrorCode for OMLCodeReason
impl ErrorCode for OMLCodeReason
fn error_code(&self) -> i32
Source§impl ErrorIdentityProvider for OMLCodeReason
impl ErrorIdentityProvider for OMLCodeReason
fn stable_code(&self) -> &'static str
fn error_category(&self) -> ErrorCategory
Source§impl From<DataErrKind> for OMLCodeReason
impl From<DataErrKind> for OMLCodeReason
Source§fn from(_: DataErrKind) -> Self
fn from(_: DataErrKind) -> Self
Converts to this type from the input type.
Source§impl From<OMLCodeReason> for RunReason
impl From<OMLCodeReason> for RunReason
Source§fn from(_: OMLCodeReason) -> Self
fn from(_: OMLCodeReason) -> Self
Converts to this type from the input type.
Source§impl From<OMLCodeReason> for UnifiedReason
impl From<OMLCodeReason> for UnifiedReason
Source§fn from(_: OMLCodeReason) -> Self
fn from(_: OMLCodeReason) -> Self
Converts to this type from the input type.
Source§impl From<String> for OMLCodeReason
impl From<String> for OMLCodeReason
Source§impl From<UnifiedReason> for OMLCodeReason
impl From<UnifiedReason> for OMLCodeReason
Source§fn from(value: UnifiedReason) -> Self
fn from(value: UnifiedReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OMLCodeReason
impl PartialEq for OMLCodeReason
Source§impl Serialize for OMLCodeReason
impl Serialize for OMLCodeReason
Source§impl SysErrorCode for OMLCodeReason
impl SysErrorCode for OMLCodeReason
impl DomainReason for OMLCodeReason
impl StructuralPartialEq for OMLCodeReason
Auto Trait Implementations§
impl Freeze for OMLCodeReason
impl RefUnwindSafe for OMLCodeReason
impl Send for OMLCodeReason
impl Sync for OMLCodeReason
impl Unpin for OMLCodeReason
impl UnsafeUnpin for OMLCodeReason
impl UnwindSafe for OMLCodeReason
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more