Type Alias ErrorHandlerResult

ErrorHandlerResult: { action: ErrorAction; handled?: boolean; message?: string }

Type declaration

  • action: ErrorAction

    The action to take.

  • Optionalhandled?: boolean

    If set to true the client assumes that the corresponding error handler has presented an appropriate message to the user and the message will only be log to the client's output channel.

  • Optionalmessage?: string

    An optional message to be presented to the user.