SMART on FHIR Python Client 4.2.0
 
Loading...
Searching...
No Matches
fhirclient.models.fhirabstractbase.FHIRValidationError Class Reference

Exception raised when one or more errors occurred during model validation. More...

Inheritance diagram for fhirclient.models.fhirabstractbase.FHIRValidationError:

Public Member Functions

 __init__ (self, errors, path=None)
 Initializer.
 
 prefixed (self, path_prefix)
 Creates a new instance of the receiver, with the given path prefix applied.
 

Public Attributes

 errors
 
 path
 

Detailed Description

Exception raised when one or more errors occurred during model validation.

Constructor & Destructor Documentation

◆ __init__()

fhirclient.models.fhirabstractbase.FHIRValidationError.__init__ (   self,
  errors,
  path = None 
)

Initializer.

Parameters
errorsList of Exception instances. Also accepts a string, which is converted to a TypeError.
pathstr The property path on the object where errors occurred

Member Function Documentation

◆ prefixed()

fhirclient.models.fhirabstractbase.FHIRValidationError.prefixed (   self,
  path_prefix 
)

Creates a new instance of the receiver, with the given path prefix applied.

Member Data Documentation

◆ errors

fhirclient.models.fhirabstractbase.FHIRValidationError.errors

◆ path

fhirclient.models.fhirabstractbase.FHIRValidationError.path

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