Packages

c

uk.gov.hmrc.play.bootstrap.frontend.http

FrontendErrorHandler

abstract class FrontendErrorHandler extends HttpErrorHandler with I18nSupport with LangImplicits

Linear Supertypes
LangImplicits, I18nSupport, I18NSupportLowPriorityImplicits, HttpErrorHandler, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FrontendErrorHandler
  2. LangImplicits
  3. I18nSupport
  4. I18NSupportLowPriorityImplicits
  5. HttpErrorHandler
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new FrontendErrorHandler()

Type Members

  1. implicit class RequestWithMessagesApi extends AnyRef
    Definition Classes
    I18NSupportLowPriorityImplicits
  2. implicit class ResultWithMessagesApi extends AnyRef
    Definition Classes
    I18NSupportLowPriorityImplicits

Abstract Value Members

  1. implicit abstract val ec: ExecutionContext
    Attributes
    protected
  2. abstract def messagesApi: MessagesApi
    Definition Classes
    LangImplicits
  3. abstract def standardErrorTemplate(pageTitle: String, heading: String, message: String)(implicit request: RequestHeader): Future[Html]

    To be provided to wire up to a View

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def badRequestTemplate(implicit request: RequestHeader): Future[Html]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def fallbackClientErrorTemplate(implicit request: RequestHeader): Future[Html]
  10. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  11. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  12. def internalServerErrorTemplate(implicit request: RequestHeader): Future[Html]
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. implicit def lang2Messages(implicit lang: Lang): Messages
    Definition Classes
    LangImplicits
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def notFoundTemplate(implicit request: RequestHeader): Future[Html]
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  19. def onClientError(request: RequestHeader, statusCode: Int, message: String): Future[Result]
    Definition Classes
    FrontendErrorHandler → HttpErrorHandler
  20. def onServerError(request: RequestHeader, exception: Throwable): Future[Result]
    Definition Classes
    FrontendErrorHandler → HttpErrorHandler
  21. implicit def request2Messages(implicit request: RequestHeader): Messages
    Definition Classes
    FrontendErrorHandler → I18nSupport
  22. def resolveError(rh: RequestHeader, ex: Throwable): Future[Result]
  23. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from LangImplicits

Inherited from I18nSupport

Inherited from I18NSupportLowPriorityImplicits

Inherited from HttpErrorHandler

Inherited from AnyRef

Inherited from Any

Ungrouped