[][src]Trait treescript_interpreter::lib_process::LibProcessError

pub trait LibProcessError: Debug + From<Error> {
    fn unknown_function(name: String) -> Self;
fn invalid_num_args(fun: String, expected: usize, actual: usize) -> Self;
fn invalid_arg_types(actual: Vec<Value>, expected: String) -> Self;
fn not_function(value: Value) -> Self;
fn unsupported(reason: String) -> Self; }

Required methods

fn unknown_function(name: String) -> Self

fn invalid_num_args(fun: String, expected: usize, actual: usize) -> Self

fn invalid_arg_types(actual: Vec<Value>, expected: String) -> Self

fn not_function(value: Value) -> Self

fn unsupported(reason: String) -> Self

Loading content...

Implementors

impl LibProcessError for BasicLibProcessError[src]

Loading content...