<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@contract-case/case-boundary](./case-boundary.md) &gt; [BoundaryFailure](./case-boundary.boundaryfailure.md)

## BoundaryFailure class

This indicates a failure. Use `BoundaryFailureKindConstants` to determine what type of failure it is.

**Signature:**

```typescript
export declare class BoundaryFailure extends BoundaryResult
```

**Extends:** [BoundaryResult](./case-boundary.boundaryresult.md)

## Constructors

| Constructor                                                                                | Modifiers | Description                                                         |
| ------------------------------------------------------------------------------------------ | --------- | ------------------------------------------------------------------- |
| [(constructor)(kind, message, location)](./case-boundary.boundaryfailure._constructor_.md) |           | Constructs a new instance of the <code>BoundaryFailure</code> class |

## Properties

| Property                                                    | Modifiers             | Type                  | Description |
| ----------------------------------------------------------- | --------------------- | --------------------- | ----------- |
| [kind](./case-boundary.boundaryfailure.kind.md)             | <code>readonly</code> | string                |             |
| [location](./case-boundary.boundaryfailure.location.md)     | <code>readonly</code> | string                |             |
| [message](./case-boundary.boundaryfailure.message.md)       | <code>readonly</code> | string                |             |
| [resultType](./case-boundary.boundaryfailure.resulttype.md) | <code>readonly</code> | typeof RESULT_FAILURE |             |
