MappingFailed

class MappingFailed

Thrown to indicate that a mapping function such as strikt.api.Assertion.Builder.get or strikt.api.Assertion.Builder.with failed due to an exception thrown by the mapping function.

Constructors

<init>

constructor(description: String, cause: Throwable)

Thrown to indicate that a mapping function such as strikt.api.Assertion.Builder.get or strikt.api.Assertion.Builder.with failed due to an exception thrown by the mapping function.

Parameters

Name Description
description: String
cause: Throwable