ERLError

Enumin erlfastly 0.13.1View source
#[non_exhaustive]
pub enum ERLError {
Unexpected,
Unknown(FastlyStatus),
InvalidArgument,
}

Errors that can arise during ERL operations.

This type is marked as non-exhaustive because more variants will be added over time.

Variants

Unexpected

Unexpected ERL error.

Unknown

Unknown ERL error.

0: fastly_shared::FastlyStatus

InvalidArgument

InvalidArgument ERL error.

Trait implementations

impl Clone for ERLError

fn clone(&self) -> Self

Parameters

self: &Self

Returns

Self

impl Debug for ERLError

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Parameters

self: &Self
f: &mut $crate::fmt::Formatter

Returns

$crate::fmt::Result

impl Display for ERLError

fn fmt(&self, __formatter: &mut Formatter<'_>) -> Result

Parameters

self: &Self
__formatter: &mut ::core::fmt::Formatter

Returns

::core::fmt::Result

impl From<FastlyStatus> for ERLError

fn from(st: FastlyStatus) -> Self

Parameters

st: FastlyStatus

Returns

Self

impl PartialEq for ERLError

fn eq(&self, other: &Self) -> bool

Parameters

self: &Self
other: &Self

Returns

bool

Auto trait implementations

Blanket implementations