Skip to main content
Version: 3.4.0

UnsupportedSelectError

Defined in: src/lib/errors/unsupported-select.error.ts:7

Error thrown when flat field selection is attempted with a driver that does not support it

Flat field selection is only supported by the NestJS driver. Use addFields() for Spatie per-model field selection.

Extends

  • Error

Constructors

Constructor

new UnsupportedSelectError(): UnsupportedSelectError

Defined in: src/lib/errors/unsupported-select.error.ts:8

Returns

UnsupportedSelectError

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