ErrorResponse
api.ErrorResponse
Represents a standard error response returned by the server in JSON format.
This case class is used to encapsulate error details, making it easy to serialise into a consistent JSON structure for HTTP error responses.
Value parameters
- error
-
A string identifying the type of error (e.g., "NotFound", "BadRequest").
- message
-
A descriptive message providing additional details about the error.
Attributes
- Source
- ErrorHandler.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article