We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d309663 commit 4e86935Copy full SHA for 4e86935
src/utils.ts
@@ -47,7 +47,7 @@ export type SigOpts = VerOpts & {
47
export function validateOpts(opts: object): void {
48
// We try to catch u8a, since it was previously valid argument at this position
49
if (typeof opts !== 'object' || opts === null || isBytes(opts))
50
- throw new Error('opts should be object');
+ throw new Error('expected opts to be an object');
51
}
52
53
export function validateVerOpts(opts: VerOpts): void {
0 commit comments