Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
elribonazo committed Apr 17, 2024
1 parent c73db18 commit 38f9415
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions 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);
}
}
Expand Down

0 comments on commit 38f9415

Please sign in to comment.