ErrorHandler

harness.http.server.ErrorHandler$
See theErrorHandler companion trait
object ErrorHandler

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type Aux[_Err, DomainError, ApiError] = ErrorHandler[DomainError, ApiError] { type Err = _Err; }
type Id[DomainError, ApiError] = Aux[DomainError, DomainError, ApiError]

Value members

Concrete methods

def apply[_Err, DomainError, ApiError](_convertDecodingFailure: DecodingFailure => DomainError, _convertUnexpectedError: Throwable => DomainError, _convertErr: ErrorMapper[_Err, DomainError], _convertDomainError: ErrorMapper[DomainError, ApiError], _errorLogger: ErrorLogger[DomainError], _headersAndCookiesOnError: ApiError => HttpResponse[OutputResult] => HttpResponse[OutputResult]): Aux[_Err, DomainError, ApiError]
def id[DomainError, ApiError](convertDecodingFailure: DecodingFailure => DomainError, convertUnexpectedError: Throwable => DomainError, convertDomainError: ErrorMapper[DomainError, ApiError], errorLogger: ErrorLogger[DomainError], headersAndCookiesOnError: ApiError => HttpResponse[OutputResult] => HttpResponse[OutputResult]): Aux[DomainError, DomainError, ApiError]

Implicits

Implicits

implicit def apiInternalDefect: Aux[Nothing, Throwable, ApiInternalDefect]