Skip to content

std/errors

Index

fn New(err: string): &Error
type Error
    fn String(*self): string

New

jule
fn New(err: string): &Error

Returns an error instance with message. The returned type is an anonymous, meaning it cannot obtain any underlying type.

Error

jule
type Error: string

Internal type for anonymous errors.

String

jule
fn String(*self): string

Returns error as string.