class HexaPDF::MalformedPDFError

Parent

Raised when the PDF is invalid and can't be read correctly.

Attributes

pos[R]

The byte position in the PDF file where the error occured.

Public Class Methods

new(message, pos:)

Creates a new malformed PDF error object for the given exception message.

The byte position where the error occured has to be given via the pos argument.

Calls superclass method