libd.util.errorhandling

Undocumented in source.

Members

Functions

assumeValid
auto assumeValid(ResultT result)
Undocumented in source. Be warned that the author may not have intended to support it.
bcAssert
void bcAssert(bool condition, bcstring message)
Undocumented in source. Be warned that the author may not have intended to support it.
displayError
void displayError(BcError error)
Undocumented in source. Be warned that the author may not have intended to support it.
formatError
void formatError(OutputRange output, BcError error)
Undocumented in source. Be warned that the author may not have intended to support it.
onOutOfMemoryError
void onOutOfMemoryError(void* pretend_sideeffect)
Undocumented in source. Be warned that the author may not have intended to support it.
raise
BcError raise(bcstring message, int errorCode)
Undocumented in source. Be warned that the author may not have intended to support it.
raise
BcError raise(String message, int errorCode)
Undocumented in source. Be warned that the author may not have intended to support it.
result
SimpleResult!ValueT result(BcError error)
Undocumented in source. Be warned that the author may not have intended to support it.
result
SimpleResult!ValueT result(ValueT value)
Undocumented in source. Be warned that the author may not have intended to support it.
throwError
void throwError(BcError error)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

BcError
struct BcError
Undocumented in source.
SimpleResult
struct SimpleResult(T)
Undocumented in source.

Meta