Packages

object Errors extends Errors

Linear Supertypes
Errors, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Errors
  2. Errors
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def BadGateway(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with a bad gateway error (502) response.

    Error out with a bad gateway error (502) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  5. def BadRequest(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with a BadRequest (400) response.

    Error out with a BadRequest (400) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  6. def BadRequestT[T](errorCode: String = null, msg: String = null, details: Option[T] = None, cause: Option[Throwable] = None)(implicit format: OFormat[T]): NaptimeActionException

    Error out with a BadRequest (400) response.

    Error out with a BadRequest (400) response. Detail will be converted to a json object.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  7. def Conflict(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with a conflict (409) response.

    Error out with a conflict (409) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  8. def Forbidden(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with an Forbidden (403) response.

    Error out with an Forbidden (403) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  9. def GatewayTimeout(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with a gateway timeout (504) response.

    Error out with a gateway timeout (504) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  10. def Gone(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with an Gone (410) response.

    Error out with an Gone (410) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  11. def InternalServerError(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with an internal server error (500) response.

    Error out with an internal server error (500) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  12. def NotFound[MissingType](id: Int)(implicit typeTag: scala.reflect.api.JavaUniverse.TypeTag[MissingType]): NaptimeActionException
    Definition Classes
    Errors
  13. def NotFound(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with an Not Found (404) response.

    Error out with an Not Found (404) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  14. def NotFoundT[T](errorCode: String = null, msg: String = null, details: Option[T] = None, cause: Option[Throwable] = None)(implicit format: OFormat[T]): NaptimeActionException

    Error out with an Not Found (404) response.

    Error out with an Not Found (404) response. Detail will be converted to a json object.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  15. def PreconditionFailed(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with a precondition failed (412) response.

    Error out with a precondition failed (412) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  16. def ServiceUnavailable(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with a service unavailable (503) response.

    Error out with a service unavailable (503) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  17. def Unauthorized(errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Error out with an Unauthorized (401) response.

    Error out with an Unauthorized (401) response.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  18. def UnauthorizedT[T](errorCode: String = null, msg: String = null, details: Option[T] = None, cause: Option[Throwable] = None)(implicit format: OFormat[T]): NaptimeActionException

    Error out with an Unauthorized (401) response.

    Error out with an Unauthorized (401) response. Detail will be converted to a json object.

    Note: Only use this within a Rest Action, and not a general action.

    Definition Classes
    Errors
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. def error(httpCode: Int, errorCode: String = null, msg: String = null, details: Option[JsValue] = None, cause: Option[Throwable] = None): NaptimeActionException

    Generate your own HTTP 4XX or 5XX response, specifying your own HTTP code.

    Generate your own HTTP 4XX or 5XX response, specifying your own HTTP code.

    Definition Classes
    Errors
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  28. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  30. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  31. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  32. def toString(): String
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Errors

Inherited from AnyRef

Inherited from Any

Ungrouped