@: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
@:value({ code : InternalError })new(code:ErrorCode = InternalError, message:String, ?pos:Pos)
read onlycallStack:Stack
read onlycode:ErrorCode
read onlydata:T
read onlyexceptionStack:Stack
read onlymessage:String
read onlypos:Null<Pos>
throwSelf():Dynamic
inlinetoPromise<X>():Promise<X>
toString():String