Exceptions#

digraph inheritance0eeaf4bf1e { bgcolor=transparent; fontsize=32; rankdir=LR; size="6.0, 8.0"; "pyjson5.pyjson5.Json5DecoderException" [URL="decoder.html#pyjson5.Json5DecoderException",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Json5DecoderException(message=None, result=None, *args)"]; "pyjson5.pyjson5.Json5Exception" -> "pyjson5.pyjson5.Json5DecoderException" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5EOF" [URL="decoder.html#pyjson5.Json5EOF",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="The input ended prematurely."]; "pyjson5.pyjson5.Json5DecoderException" -> "pyjson5.pyjson5.Json5EOF" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5EncoderException" [URL="encoder.html#pyjson5.Json5EncoderException",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Base class of any exception thrown by the serializer."]; "pyjson5.pyjson5.Json5Exception" -> "pyjson5.pyjson5.Json5EncoderException" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5Exception" [URL="#pyjson5.Json5Exception",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Json5Exception(message=None, *args)"]; "pyjson5.pyjson5.Json5ExtraData" [URL="decoder.html#pyjson5.Json5ExtraData",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Json5ExtraData(message=None, result=None, character=None, *args)"]; "pyjson5.pyjson5.Json5DecoderException" -> "pyjson5.pyjson5.Json5ExtraData" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5IllegalCharacter" [URL="decoder.html#pyjson5.Json5IllegalCharacter",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Json5IllegalCharacter(message=None, result=None, character=None, *args)"]; "pyjson5.pyjson5.Json5DecoderException" -> "pyjson5.pyjson5.Json5IllegalCharacter" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5IllegalType" [URL="decoder.html#pyjson5.Json5IllegalType",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Json5IllegalType(message=None, result=None, value=None, *args)"]; "pyjson5.pyjson5.Json5DecoderException" -> "pyjson5.pyjson5.Json5IllegalType" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5NestingTooDeep" [URL="decoder.html#pyjson5.Json5NestingTooDeep",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="The maximum nesting level on the input data was exceeded."]; "pyjson5.pyjson5.Json5DecoderException" -> "pyjson5.pyjson5.Json5NestingTooDeep" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; "pyjson5.pyjson5.Json5UnstringifiableType" [URL="encoder.html#pyjson5.Json5UnstringifiableType",color=black,fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="filled,solid",target="_top",tooltip="Json5UnstringifiableType(message=None, unstringifiable=None)"]; "pyjson5.pyjson5.Json5EncoderException" -> "pyjson5.pyjson5.Json5UnstringifiableType" [arrowsize=0.8,penwidth=1.2,style="setlinewidth(0.5)"]; }
exception pyjson5.Json5Exception(message=None, *args)#

Base class of any exception thrown by PyJSON5.

add_note()#

Exception.add_note(note) – add a note to the exception

message#

Human readable error description

with_traceback()#

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.