---
lang: en
title: 'API docs: context.resolutionerror._constructor_'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/context
permalink: /doc/en/lb4/apidocs.context.resolutionerror._constructor_.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/context](./context.md) &gt; [ResolutionError](./context.resolutionerror.md) &gt; [(constructor)](./context.resolutionerror._constructor_.md)

## ResolutionError.(constructor)

Constructs a new instance of the `ResolutionError` class

**Signature:**

```typescript
constructor(message: string, resolutionCtx: Partial<ResolutionContext>);
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  message | string |  |
|  resolutionCtx | Partial&lt;[ResolutionContext](./context.resolutioncontext.md)<!-- -->&gt; |  |


