BaseCCodeModel::errorMessage PHP Method

errorMessage() public method

Child classes should override this method if the message needs to be customized.
public errorMessage ( ) : string
return string the message to be displayed when some error occurred during code file saving.
    public function errorMessage()
    {
        return 'There was some error when generating the code. Please check the following messages.';
    }