1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | class InterfaceResolveTypeError extends Error {
|
4 | constructor(interfaceMetadata) {
|
5 | super(`Cannot resolve type for interface ${interfaceMetadata.name}! ` +
|
6 | `You need to return instance of object type class, not a plain object!`);
|
7 | Object.setPrototypeOf(this, new.target.prototype);
|
8 | }
|
9 | }
|
10 | exports.InterfaceResolveTypeError = InterfaceResolveTypeError;
|