Object/Trait

org.coursera.naptime

Errors

Related Docs: trait Errors | package naptime

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def BadRequest(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  5. def Conflict(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  6. def Forbidden(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

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

    Permalink

    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
  8. def Gone(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  9. def InternalServerError(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  10. def NotFound[MissingType](id: Int)(implicit typeTag: scala.reflect.api.JavaUniverse.TypeTag[MissingType]): Nothing

    Permalink
    Definition Classes
    Errors
  11. def NotFound(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  12. def PreconditionFailed(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    Error out with a precondition failed (411) response.

    Error out with a precondition failed (411) response.

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

    Definition Classes
    Errors
  13. def ServiceUnavailable(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  14. def Unauthorized(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  15. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  19. def error(httpCode: Int, errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing

    Permalink

    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
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Errors

Inherited from AnyRef

Inherited from Any

Ungrouped