Static methods

@:noUsingstaticasError(v:Dynamic):Null<Error>

staticcatchExceptions<A>(f:() ‑> A, ?report:Dynamic ‑> Error, ?pos:Null<Pos>):Outcome<A, Null<Error>>

staticreporter(?code:ErrorCode, message:String, ?pos:Null<Pos>):Dynamic ‑> Error

staticinlinerethrow(any:Dynamic):Dynamic

statictryFinally<T>(f:() ‑> T, cleanup:() ‑> Void):T

statictyped<A>(?code:ErrorCode, message:String, data:A, ?pos:Null<Pos>):TypedError<A>

staticwithData(?code:ErrorCode, message:String, data:Dynamic, ?pos:Null<Pos>):Error

Constructor

@:value({ code : InternalError })new(code:ErrorCode = InternalError, message:String, ?pos:Pos)

Variables

read onlycallStack:Stack

read onlycode:ErrorCode

read onlydata:T

read onlymessage:String

read onlypos:Null<Pos>

Methods