Class | Warden::Proxy::Errors |
In: |
lib/warden/errors.rb
|
Parent: | Object |
Lifted from DataMapper‘s dm-validations plugin :) @author Guy van den Berg @since DM 0.9
Add a authentication error. Use the field_name :general if the errors does not apply to a specific field of the Resource.
@param <Symbol> field_name the name of the field that caused the error @param <String> message the message to add