export class ErrorResponseMock implements Xrm . ErrorResponse { public errorCode : number ; public message : string ; constructor ( errorCode , message ) { this . errorCode = errorCode ; this . message = message ; } }