UNPKG

@jaricardodev/ews-javascript-api

Version:
27 lines (26 loc) 1.03 kB
import {Exception} from "./Exception"; /** * Represents an error that occurs when a service operation fails locally (e.g. validation error). */ export class ServiceLocalException extends Exception {// extends System.Exception { /** * Initializes a new instance of **ServiceVersionException**. */ constructor(); /** * Initializes a new instance of **ServiceVersionException**. * * @param {string} message The message that describes the error. */ constructor(message: string); /** * Initializes a new instance of **ServiceVersionException**. * * @param {string} message The message that describes the error. * @param {Exception} innerException The exception that is the cause of the current exception. */ constructor(message: string, innerException: Exception); constructor(message: string = null, innerException: Exception = null) { super(message, innerException); } }