[][src]Enum leo_compiler::errors::function::FunctionError

pub enum FunctionError {
    AddressError(AddressError),
    BooleanError(BooleanError),
    ExpressionError(ExpressionError),
    Error(FormattedError),
    FieldError(FieldError),
    GroupError(GroupError),
    IntegerError(IntegerError),
    OutputStringError(OutputBytesError),
    StatementError(StatementError),
    ValueError(ValueError),
}

Variants

AddressError(AddressError)
BooleanError(BooleanError)
ExpressionError(ExpressionError)
FieldError(FieldError)
GroupError(GroupError)
IntegerError(IntegerError)
OutputStringError(OutputBytesError)
StatementError(StatementError)
ValueError(ValueError)

Implementations

impl FunctionError[src]

pub fn set_path(&mut self, path: PathBuf)[src]

pub fn arguments_length(expected: usize, actual: usize, span: Span) -> Self[src]

pub fn invalid_array(actual: String, span: Span) -> Self[src]

pub fn invalid_tuple(actual: String, span: Span) -> Self[src]

pub fn return_arguments_length(
    expected: usize,
    actual: usize,
    span: Span
) -> Self
[src]

pub fn input_not_found(expected: String, span: Span) -> Self[src]

Trait Implementations

impl Debug for FunctionError[src]

impl Display for FunctionError[src]

impl Error for FunctionError[src]

impl From<AddressError> for FunctionError[src]

impl From<BooleanError> for FunctionError[src]

impl From<Error> for FunctionError[src]

impl From<ExpressionError> for FunctionError[src]

impl From<FieldError> for FunctionError[src]

impl From<FunctionError> for CompilerError[src]

impl From<GroupError> for FunctionError[src]

impl From<IntegerError> for FunctionError[src]

impl From<OutputBytesError> for FunctionError[src]

impl From<StatementError> for FunctionError[src]

impl From<ValueError> for FunctionError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,