| FhirException Constructor (HttpStatusCode, OperationOutcomeIssueType, String, Exception) |
Creates a new FHIR exception with specified code
Namespace:
SanteDB.Messaging.FHIR.Exceptions
Assembly:
SanteDB.Messaging.FHIR (in SanteDB.Messaging.FHIR.dll) Version: 2.2.1
Syntax public FhirException(
HttpStatusCode statusCode,
IssueType fhirCode,
string diagnostics,
Exception innerException
)
Public Sub New (
statusCode As HttpStatusCode,
fhirCode As IssueType,
diagnostics As String,
innerException As Exception
)
public:
FhirException(
HttpStatusCode statusCode,
IssueType fhirCode,
String^ diagnostics,
Exception^ innerException
)
new :
statusCode : HttpStatusCode *
fhirCode : IssueType *
diagnostics : string *
innerException : Exception -> FhirException
Parameters
- statusCode
- Type: System.NetHttpStatusCode
The HTTP status code - fhirCode
- Type: IssueType
The FHIR text - diagnostics
- Type: SystemString
The diagnostic text - innerException
- Type: SystemException
The cause of this exception
See Also