object Errors extends Errors
- Alphabetic
- By Inheritance
- Errors
- Errors
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
BadGateway(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
BadRequest(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
BadRequestT[T](errorCode: String = null, msg: String = null, details: Option[T] = None)(implicit format: OFormat[T]): Nothing
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
-
def
Conflict(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
Forbidden(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
GatewayTimeout(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
Gone(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
InternalServerError(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
NotFound[MissingType](id: Int)(implicit typeTag: scala.reflect.api.JavaUniverse.TypeTag[MissingType]): Nothing
- Definition Classes
- Errors
-
def
NotFound(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
NotFoundT[T](errorCode: String = null, msg: String = null, details: Option[T] = None)(implicit format: OFormat[T]): Nothing
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
-
def
PreconditionFailed(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
ServiceUnavailable(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
Unauthorized(errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
UnauthorizedT[T](errorCode: String = null, msg: String = null, details: Option[T] = None)(implicit format: OFormat[T]): Nothing
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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
error(httpCode: Int, errorCode: String = null, msg: String = null, details: Option[JsValue] = None): Nothing
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
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )