Dancer::Exception::Base is the base class of all Dancer exception.
All core exceptions,
and all custom exception registered using Dancer::Exception::register_exception inherits of Dancer::Exception::Base.

The cmp operator is also overloaded, thus all the string operations can be done on Dancer's exceptions, as they will all be based on the overloaded cmp operator. Dancer exceptions will be compared without their stacktraces.