Adds support for passing a custom error message

* It can be passed via a `:message` key.