Class: MediaNotSpecifiedError
PrinterAdapter.print() or createPreview() was called without a media argument and no detected media was available.
The caller must either pass media explicitly or call getStatus() first so the adapter can cache a detected media descriptor.
Extends
Error
Constructors
Constructor
ts
new MediaNotSpecifiedError(): MediaNotSpecifiedError;Returns
MediaNotSpecifiedError
Overrides
ts
Error.constructorProperties
cause?
ts
optional cause?: unknown;Inherited from
ts
Error.causemessage
ts
message: string;Inherited from
ts
Error.messagename
ts
name: string;Inherited from
ts
Error.namestack?
ts
optional stack?: string;Inherited from
ts
Error.stack