Bolt.Sips v0.1.0 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 c:Exception.exception/1

Callback implementation for c:Exception.message/1

Types

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

Functions

exception(msg)

Specs

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

Callback implementation for c:Exception.exception/1.

message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.