Skip to content
lulalala edited this page Apr 16, 2017 · 2 revisions

errors

errors object contains a collection of error objects. It is also the place to access error information in general.

errors.full_messages

Same as current Rails implementation, returns an array of full error messages.

errors.add

Same as current Rails implementation.

error

This object contains information about the error, as well as accessing the error message in the correct locale.

error.full_message

Returns full message in current locale