Bolt.Sips v0.1.8 Bolt.Sips.Exception exception

This module defines a Bolt.Sips.Exception structure containing two fields:

  • code - the error code
  • message - the error details

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

Types

t()
t :: %Bolt.Sips.Exception{__exception__: term, code: term, message: term}

Functions

exception(msg)
exception(String.t) :: Exception.t
exception(Keyword.t) :: Exception.t

Callback implementation for Exception.exception/1.

message(exception)
message(Exception.t) :: String.t

Callback implementation for Exception.message/1.