Skip to content

Commit

Permalink
clarify error message
Browse files Browse the repository at this point in the history
  • Loading branch information
libotony committed Sep 14, 2023
1 parent 2f73d27 commit 4fedb47
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/connex/src/driver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export class LazyDriver implements Connex.Driver {

private get noVendor(): DriverNoVendor {
if (!this._driver) {
throw new Error('driver no vendor is not ready')
throw new Error('thor driver is not ready')
}
return this._driver
}
Expand Down
4 changes: 2 additions & 2 deletions packages/driver/src/driver-no-vendor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ export class DriverNoVendor implements Connex.Driver {
msg: Connex.Vendor.TxMessage,
options: Connex.Signer.TxOptions
): Promise<Connex.Vendor.TxResponse> {
throw new Error('not implemented')
throw new Error('signer not implemented')
}
public signCert(
msg: Connex.Vendor.CertMessage,
options: Connex.Signer.CertOptions
): Promise<Connex.Vendor.CertResponse> {
throw new Error('not implemented')
throw new Error('signer not implemented')
}
//////
protected mergeRequest(req: () => Promise<any>, ...keyParts: any[]) {
Expand Down

0 comments on commit 4fedb47

Please sign in to comment.