Public Member Functions | Public Attributes | List of all members
aestate.ajson.sim.errors.JSONDecodeError Class Reference
Inheritance diagram for aestate.ajson.sim.errors.JSONDecodeError:
Inheritance graph
Collaboration diagram for aestate.ajson.sim.errors.JSONDecodeError:
Collaboration graph

Public Member Functions

def __init__ (self, msg, doc, pos, end=None)
def __reduce__ (self)

Public Attributes


Detailed Description

Subclass of ValueError with the following additional properties:

msg: The unformatted error message
doc: The JSON document being parsed
pos: The start index of doc where parsing failed
end: The end index of doc where parsing failed (may be None)
lineno: The line corresponding to pos
colno: The column corresponding to pos
endlineno: The line corresponding to end (may be None)
endcolno: The column corresponding to end (may be None)

Definition at line 26 of file

Constructor & Destructor Documentation

◆ __init__()

def aestate.ajson.sim.errors.JSONDecodeError.__init__ (   self,
  end = None 

Definition at line 41 of file

Here is the call graph for this function:

Member Function Documentation

◆ __reduce__()

def aestate.ajson.sim.errors.JSONDecodeError.__reduce__ (   self)

Definition at line 53 of file

Member Data Documentation

◆ colno


Definition at line 47 of file

◆ doc


Definition at line 44 of file

◆ end


Definition at line 46 of file

◆ endcolno


Definition at line 49 of file

◆ msg


Definition at line 43 of file

◆ pos


Definition at line 45 of file

The documentation for this class was generated from the following file: