Method: CiscoAclIntp::ParserUtility#err_message

Defined in:
lib/cisco_acl_intp/parser_api.rb

#err_message(err) ⇒ Object

Generate parser error message by other exception

Parameters:

  • err (StandardError)

    Exception


79
80
81
82
83
84
# File 'lib/cisco_acl_intp/parser_api.rb', line 79

def err_message(err)
  [
    'Parse aborted. Found unknown error:',
    "  #{err.message}"
  ].join("\n")
end