Method: JsDuck::TypeParser#error
- Defined in:
- lib/jsduck/type_parser.rb
#error ⇒ Object (readonly)
Allows to check the type of error that was encountered. It will be either of the two:
-
:syntax - type definition syntax is incorrect
-
:name - one of the names of the types is unknown
47 48 49 |
# File 'lib/jsduck/type_parser.rb', line 47 def error @error end |