Example #1
0
 public function init()
 {
     Response::$errorDictionary = CMap::mergeArray(Response::$errorDictionary, array(ApiErrorCodes::MY_CUSTOM_ERROR => 'My Custom Error Description', ApiErrorCodes::LOGIN_FAILED => 'Incorrect login and password Correct: chuck@norris.com qwerty '));
     return parent::init();
 }