# Class: NotAllowedError

Defined in: [packages/core/src/node/host.ts:155](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L155)

An account this host was not told to carry for

## Extends

- `Error`

## Constructors

### Constructor

```ts
new NotAllowedError(): NotAllowedError;
```

Defined in: [packages/core/src/node/host.ts:156](https://github.com/leifriksheim/minca/blob/main/core/src/node/host.ts#L156)

#### Returns

`NotAllowedError`

#### Overrides

`Error.constructor`

## Properties

### cause?

```ts
cause?: unknown;
```

Defined in: [apps/docs/node\_modules/typescript/lib/lib.es2022.error.d.ts:24](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es2022.error.d.ts#L24)

#### Inherited from

`Error.cause`

***

### message

```ts
message: string;
```

Defined in: [apps/docs/node\_modules/typescript/lib/lib.es5.d.ts:1075](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es5.d.ts#L1075)

#### Inherited from

`Error.message`

***

### name

```ts
name: string;
```

Defined in: [apps/docs/node\_modules/typescript/lib/lib.es5.d.ts:1074](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es5.d.ts#L1074)

#### Inherited from

`Error.name`

***

### stack?

```ts
stack?: string;
```

Defined in: [apps/docs/node\_modules/typescript/lib/lib.es5.d.ts:1076](https://github.com/leifriksheim/minca/blob/main/../apps/docs/node_modules/typescript/lib/lib.es5.d.ts#L1076)

#### Inherited from

`Error.stack`
