Mandrake v0.0.4 Mandrake.DeprecationError exception

Error to notify that a deprecation must be deleted.

Summary

Functions

Callback implementation for c:Exception.exception/1

Raise DeprecationError 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 DeprecationError with the given date and message.

Examples

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

Specs

message(Exception.t) :: String.t

Callback implementation for c:Exception.message/1.