ErrorResponse

orchescala.gateway.ErrorResponse
See theErrorResponse companion object
case class ErrorResponse(message: String, code: Option[String])

Attributes

Companion
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def httpStatus: Int

Extracts HTTP status code from the error message content. Looks for patterns like "Failed with code 404:" or "status: 404"

Extracts HTTP status code from the error message content. Looks for patterns like "Failed with code 404:" or "status: 404"

Attributes

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product