From 38f9415073890b7dc1f4c88b49ad81d84997c7d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20Javier=20Ribo=CC=81=20Labrador?= Date: Wed, 17 Apr 2024 18:22:04 +0200 Subject: [PATCH] fix: linter --- src/domain/models/errors/Agent.ts | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/domain/models/errors/Agent.ts b/src/domain/models/errors/Agent.ts index 552af6713..123d55387 100644 --- a/src/domain/models/errors/Agent.ts +++ b/src/domain/models/errors/Agent.ts @@ -1,65 +1,65 @@ export class InvalidURLError extends Error { - constructor(message: string = "Invalid URL") { + constructor(message = "Invalid URL") { super(message); } } export class InvalidMessageError extends Error { - constructor(message: string = "Invalid Message") { + constructor(message = "Invalid Message") { super(message); } } export class CannotFindDIDKeyPairIndex extends Error { - constructor(message: string = "Can't find DID keypair index") { + constructor(message = "Can't find DID keypair index") { super(message); } } export class CannotFindDIDPrivateKey extends Error { - constructor(message: string = "Can't find Private key") { + constructor(message = "Can't find Private key") { super(message); } } export class CannotFindLinkSecret extends Error { - constructor(message: string = "Cannot find link secret") { + constructor(message = "Cannot find link secret") { super(message); } } export class InvitationHasNoFromDIDError extends Error { - constructor(message: string = "Invalid Invitation fromDID") { + constructor(message = "Invalid Invitation fromDID") { super(message); } } export class NoValidServiceEndpointError extends Error { - constructor(message: string = "No Valid Service Endpoint") { + constructor(message = "No Valid Service Endpoint") { super(message); } } export class InvitationIsInvalidError extends Error { - constructor(message: string = "Invalid invitation") { + constructor(message = "Invalid invitation") { super(message); } } export class NoConnectionOpenError extends Error { - constructor(message: string = "No Connection Open") { + constructor(message = "No Connection Open") { super(message); } } export class NoHandshakeResponseError extends Error { - constructor(message: string = "No Handshake Response") { + constructor(message = "No Handshake Response") { super(message); } } export class UnknownInvitationTypeError extends Error { - constructor(message: string = "Unknown Invitation Type") { + constructor(message = "Unknown Invitation Type") { super(message); } }