Skip to main content

Exceptions

9
  • Throwable->map

    Constructs a data representation for a Throwable with keys: :cause - root cause message :phase - error phase ...

  • catch

    Catch clause inside try.

  • ex-cause

    Returns the cause of ex if ex is a Throwable. Otherwise returns nil.

  • ex-data

    Returns exception data (a map) if ex is an IExceptionInfo. Otherwise returns nil.

  • ex-info

    Create an instance of ExceptionInfo, a RuntimeException subclass that carries a map of additional data.

  • ex-message

    Returns the message attached to ex if ex is a Throwable. Otherwise returns nil.

  • finally

    Finally clause inside try, runs on exit.

  • throw

    Throws an instance of Throwable.

  • try

    try / catch / finally exception handling.