FailureMessages

sttp.tapir.server.interceptor.decodefailure.DefaultDecodeFailureHandler.FailureMessages

Default messages for DecodeResult.Failure s.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def combineSourceAndDetail(source: String, detail: Option[String]): String
def failureDetailMessage(failure: Failure): Option[String]

Default message describing the source of a decode failure, alongside with optional validation/decode failure details.

Default message describing the source of a decode failure, alongside with optional validation/decode failure details.

Attributes

def failureSourceMessage(input: EndpointInput[_]): String

Describes the source of the failure: in which part of the request did the failure occur.

Describes the source of the failure: in which part of the request did the failure occur.

Attributes