@loopback/docs
Version:
Documentation files rendered at [https://loopback.io](https://loopback.io)
104 lines (51 loc) • 1.57 kB
Markdown
---
lang: en
title: 'API docs: context.resolutionerror'
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.html
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@loopback/context](./context.md) > [ResolutionError](./context.resolutionerror.md)
## ResolutionError class
Error for context binding resolutions and dependency injections
**Signature:**
```typescript
export declare class ResolutionError extends Error
```
**Extends:** Error
## Constructors
<table><thead><tr><th>
Constructor
</th><th>
Modifiers
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[(constructor)(message, resolutionCtx)](./context.resolutionerror._constructor_.md)
</td><td markdown="1">
</td><td markdown="1">
Constructs a new instance of the `ResolutionError` class
</td></tr>
</tbody></table>
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td markdown="1">
[resolutionCtx](./context.resolutionerror.resolutionctx.md)
</td><td markdown="1">
`readonly`
</td><td markdown="1">
Partial<[ResolutionContext](./context.resolutioncontext.md)<!-- -->>
</td><td markdown="1">
</td></tr>
</tbody></table>