Event error renamed err.input to err.settings
Readme: added fail event
Readme: added error event