PageRenderTime 24ms CodeModel.GetById 23ms RepoModel.GetById 1ms app.codeStats 0ms

/docs/reference/Error.md

https://code.google.com/p/pyfpdf/
Markdown | 16 lines | 9 code | 7 blank | 0 comment | 0 complexity | 200948bc983df545490a6f2866a0ecb1 MD5 | raw file
Possible License(s): LGPL-3.0
  1. ## Error ##
  2. ```python
  3. fpdf.error(msg: str)
  4. ```
  5. ### Description ###
  6. This method is automatically called in case of fatal error; it simply outputs the message and halts the execution. An inherited class may override it to customize the error handling but should always halt the script, or the resulting document would probably be invalid.
  7. ### Parameters ###
  8. msg:
  9. > The error message.