PreservicaClientException

uk.gov.nationalarchives.dp.client.PreservicaClientException
See thePreservicaClientException companion class

Custom apply methods for the exception class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(method: Method, url: Uri, statusCode: StatusCode, msg: String): PreservicaClientException

Generate an exception from HTTP request parameters

Generate an exception from HTTP request parameters

Value parameters

method

The request method

msg

The response message

statusCode

The status code of the response

url

The request url

Attributes

Returns

A PreservicaClientException

def apply(msg: String): PreservicaClientException

Creates an exception from an existing message

Creates an exception from an existing message

Value parameters

msg

The exception message

Attributes

Returns

A PreservicaClientException