12 lines
326 B
C#
12 lines
326 B
C#
public class FhirMappingException : Exception
|
|
{
|
|
public string FhirIssueCode { get; }
|
|
public int HttpStatus { get; }
|
|
|
|
public FhirMappingException(string message, string fhirIssueCode, int httpStatus = 422)
|
|
: base(message)
|
|
{
|
|
FhirIssueCode = fhirIssueCode;
|
|
HttpStatus = httpStatus;
|
|
}
|
|
} |