Asterisk - The Open Source Telephony Project GIT-master-d5a0626
Public Member Functions
SwaggerError Class Reference
Inheritance diagram for SwaggerError:
Inheritance graph
[legend]
Collaboration diagram for SwaggerError:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, msg, context, cause=None)
 

Detailed Description

Raised when an error is encountered mapping the JSON objects into the
model.

Definition at line 130 of file swagger_model.py.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  msg,
  context,
  cause = None 
)
Ctor.

@param msg: String message for the error.
@param context: ParsingContext object
@param cause: Optional exception that caused this one.

Definition at line 135 of file swagger_model.py.

135 def __init__(self, msg, context, cause=None):
136 """Ctor.
137
138 @param msg: String message for the error.
139 @param context: ParsingContext object
140 @param cause: Optional exception that caused this one.
141 """
142 super(Exception, self).__init__(msg, context, cause)
143
144

References SwaggerError.__init__().

Referenced by SwaggerError.__init__().


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