C# Class Spark.Core.Error

Show file Open project: raysearchlabs/spark

Public Methods

Method Description
BadRequest ( string message ) : SparkException
Create ( HttpStatusCode code, string message ) : SparkException
Internal ( string message ) : SparkException
NotAllowed ( string message ) : SparkException
NotFound ( IKey key ) : SparkException
NotFound ( string message ) : SparkException
NotSupported ( string message ) : SparkException

Private Methods

Method Description
CreateValidationResult ( string details, IEnumerable location ) : Hl7.Fhir.Model.OperationOutcome.OperationOutcomeIssueComponent

Method Details

BadRequest() public static method

public static BadRequest ( string message ) : SparkException
message string
return SparkException

Create() public static method

public static Create ( HttpStatusCode code, string message ) : SparkException
code HttpStatusCode
message string
return SparkException

Internal() public static method

public static Internal ( string message ) : SparkException
message string
return SparkException

NotAllowed() public static method

public static NotAllowed ( string message ) : SparkException
message string
return SparkException

NotFound() public static method

public static NotFound ( IKey key ) : SparkException
key IKey
return SparkException

NotFound() public static method

public static NotFound ( string message ) : SparkException
message string
return SparkException

NotSupported() public static method

public static NotSupported ( string message ) : SparkException
message string
return SparkException