ExceptionHandler

pl.iterators.stir.server.ExceptionHandler$
See theExceptionHandler companion trait

Attributes

Companion
trait
Source
ExceptionHandler.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Types

type PF = PartialFunction[Throwable, Route]

Attributes

Source
ExceptionHandler.scala

Value members

Concrete methods

def default(logAction: Option[(Throwable, String) => IO[Unit]]): ExceptionHandler

Default ExceptionHandler that discards the request's entity by default.

Default ExceptionHandler that discards the request's entity by default.

Attributes

Source
ExceptionHandler.scala
def seal(handler: ExceptionHandler)(logAction: Option[(Throwable, String) => IO[Unit]]): ExceptionHandler

Creates a sealed ExceptionHandler from the given one. Returns the default handler if the given one is null.

Creates a sealed ExceptionHandler from the given one. Returns the default handler if the given one is null.

Attributes

Source
ExceptionHandler.scala

Implicits

Implicits

implicit def apply(pf: PF): ExceptionHandler

Attributes

Source
ExceptionHandler.scala