Options
All
  • Public
  • Public/Protected
  • All
Menu

The error that is thrown when the Cloud Office Print server itself returns an error instead of a result. It contains a user message and an encoded message to be handed to Cloud Office Print support if they are contacted.

Hierarchy

  • Error
    • COPError

Index

Constructors

constructor

  • new COPError(fullMessage: string): COPError
  • Parameters

    • fullMessage: string

      the full error message received from the Cloud Office Print server

    Returns COPError

Properties

contactSupportMessage

contactSupportMessage: string

encodedMessage

encodedMessage: string

message

message: string

name

name: string

Optional stack

stack: string

userMessage

userMessage: string

Static Optional prepareStackTrace

prepareStackTrace: (err: Error, stackTraces: CallSite[]) => any

Type declaration

    • (err: Error, stackTraces: CallSite[]): any
    • Optional override for formatting stack traces

      Parameters

      • err: Error
      • stackTraces: CallSite[]

      Returns any

Static stackTraceLimit

stackTraceLimit: number

Methods

Static captureStackTrace

  • captureStackTrace(targetObject: object, constructorOpt?: Function): void
  • Create .stack property on a target object

    Parameters

    • targetObject: object
    • Optional constructorOpt: Function

    Returns void

Static splitMessage

  • splitMessage(message: string): string[]
  • Split the Cloud Office Print server error message into different parts: user message, contact support message and encoded message.

    Parameters

    • message: string

      Cloud Office Print server error message

    Returns string[]

    an array with the split messages

Generated using TypeDoc