Mandrake v0.0.4 Mandrake.FixNeededError exception

Error to notify that a fix is needed.

Summary

Functions

Callback implementation for c:Exception.exception/1

Raise FixNeededError with the given date and message

Callback implementation for c:Exception.message/1

Functions

exception(msg)

Specs

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

Callback implementation for c:Exception.exception/1.

exception(date, message)

Raise FixNeededError with the given date and message.

Examples

iex>  raise Mandrake.FixNeededError.exception({{2015, 12, 31}, {0, 0, 0}}, "Description")
message(exception)

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.