Aestate
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

 msg
 
 doc
 
 pos
 
 end
 
 colno
 
 endcolno
 

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 errors.py.

Constructor & Destructor Documentation

◆ __init__()

def aestate.ajson.sim.errors.JSONDecodeError.__init__ (   self,
  msg,
  doc,
  pos,
  end = None 
)

Definition at line 41 of file errors.py.

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 errors.py.

Member Data Documentation

◆ colno

aestate.ajson.sim.errors.JSONDecodeError.colno

Definition at line 47 of file errors.py.

◆ doc

aestate.ajson.sim.errors.JSONDecodeError.doc

Definition at line 44 of file errors.py.

◆ end

aestate.ajson.sim.errors.JSONDecodeError.end

Definition at line 46 of file errors.py.

◆ endcolno

aestate.ajson.sim.errors.JSONDecodeError.endcolno

Definition at line 49 of file errors.py.

◆ msg

aestate.ajson.sim.errors.JSONDecodeError.msg

Definition at line 43 of file errors.py.

◆ pos

aestate.ajson.sim.errors.JSONDecodeError.pos

Definition at line 45 of file errors.py.


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