numbers v4.0.0 Numbers.AmbiguousOperandsError exception

Raised when add/2, sub/2, mult/2 or div/2 is called with two different kinds of structs as arguments.

Summary

Functions

Callback implementation for Exception.exception/1

Callback implementation for Exception.message/1

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.