Skip to content

Unimplemented actions should throw an error #28

@osis

Description

@osis

Describe the bug
Right now unimplemented action functionality utilizes console.warn. It would be better to explicitly warn users by throwing errors to make sure there they are aware that nothing is going to happen.

example...

export const deleteAccount = async (_i: number): Promise<void> => {
  throw NotImplementedError('deleteAccount not implemented - Coinbase does not support importing/removing additional private keys');
};

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions