SuperWorker.Error exception (SuperWorker v0.3.6)

View Source

Exception module for SuperWorker errors.

This module defines exceptions that can be raised by SuperWorker operations.

Summary

Functions

Formats an error reason into a human-readable message.

Types

t()

@type t() :: %SuperWorker.Error{
  __exception__: true,
  message: String.t(),
  reason: atom() | String.t()
}

Functions

format_message(reason)

@spec format_message(atom() | String.t()) :: String.t()

Formats an error reason into a human-readable message.