@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
32 lines (21 loc) • 998 B
Markdown
---
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) > [@loopback/context](./context.md) > [ResolutionError](./context.resolutionerror.md) > [(constructor)](./context.resolutionerror._constructor_.md)
## ResolutionError.(constructor)
Constructs a new instance of the `ResolutionError` class
<b>Signature:</b>
```typescript
constructor(message: string, resolutionCtx: Partial<ResolutionContext>);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| message | string | |
| resolutionCtx | Partial<[ResolutionContext](./context.resolutioncontext.md)<!-- -->> | |