FailureResponseService

uk.gov.hmrc.common.message.failuremodule.FailureResponseService

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def errorResponseJson(errorMessage: String, responseCode: Int, showErrorID: Boolean): JsValue
def errorResponseResult(errorMessage: String, responseCode: Int, showErrorID: Boolean): Result

Concrete fields

val CONFLICT: String
val EMAIL_NOT_VERIFIED: String
val INVALID_CORRELATIONID: String
val INVALID_PAYLOAD: String
val INVALID_REQUEST: String
val MISSING_DETAILS: String
val SERVER_ERROR: String
val SERVICE_UNAVAILABLE: String
val TAXPAYER_NOT_FOUND: String
val errorMessageMapping: Map[(Int, String), ErrorMessage]