StandardError
Default parent Mongoid error for all custom errors. This handles the base key for the translations and provides the convenience method for translating the messages.
Compose the message.
@example Create the message
error.compose_message
@return [ String ] The composed message.
@since 3.0.0
# File lib/mongoid/errors/mongoid_error.rb, line 19 def compose_message(key, attributes) "\nProblem:\n #{problem(key, attributes)}"+ "\nSummary:\n #{summary(key, attributes)}"+ "\nResolution:\n #{resolution(key, attributes)}" end
Generated with the Darkfish Rdoc Generator 2.