Method: HTMLDocPDF::HTMLDoc#errors
- Defined in:
- lib/htmldoc.rb
#errors ⇒ Object (readonly)
The last error messages generate by the command. It’s a hash where they key represents the error number, and the value represents the error message. If the error number is zero, HTMLDOC was called with invalid parameters. Errors can happen even if generation succeeds, for example, if an image can’t be found in the course of the generation.
60 61 62 |
# File 'lib/htmldoc.rb', line 60 def errors @errors end |