Packages

o

play.api.http

HttpErrorHandlerExceptions

object HttpErrorHandlerExceptions

Extracted so the Java default error handler can reuse this functionality

Source
HttpErrorHandler.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpErrorHandlerExceptions
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def throwableToUsefulException(sourceMapper: Option[SourceMapper], isProd: Boolean, throwable: Throwable): UsefulException

    Convert the given exception to an exception that Play can report more information about.

    Convert the given exception to an exception that Play can report more information about.

    This will generate an id for the exception, and in dev mode, will load the source code for the code that threw the exception, making it possible to report on the location that the exception was thrown from.

    Annotations
    @tailrec()