Skip to main content
Version: 3.8.0

UnsupportedEmbeddedError

Defined in: src/lib/errors/unsupported-embedded.error.ts:10

Error thrown when embedded resources are attempted with a driver that does not support them

Embedded-resource fetching (select=col,relation(col1,col2)) is a PostgREST-native join mechanism and is only supported by the PostgREST driver. Drivers with a standalone relation parameter expose it through addIncludes() instead (JSON:API, Spatie, Strapi, @nestjsx/crud).

Extends​

  • Error

Constructors​

Constructor​

new UnsupportedEmbeddedError(): UnsupportedEmbeddedError

Defined in: src/lib/errors/unsupported-embedded.error.ts:11

Returns​

UnsupportedEmbeddedError

Overrides​

Error.constructor

Properties​

message​

message: string

Defined in: docs-site/node_modules/typescript/lib/lib.es5.d.ts:1075

Inherited from​

Error.message


name​

name: string

Defined in: docs-site/node_modules/typescript/lib/lib.es5.d.ts:1074

Inherited from​

Error.name


stack?​

optional stack?: string

Defined in: docs-site/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from​

Error.stack