Skip to content

Provide a better way to signal errors #3

@lazywithclass

Description

@lazywithclass

Right now we are failing with something like

TypeError: Cannot call method 'toString' of undefined
      at Jedlik.query (/home/developer/src/elemez/node_modules/jedlik/index.js:26:120)

and it should be (for example)

MissingParameter: hashkey expects the name of the column

if it was called like this: new Jedlik().hashkey('KEY-VALUE') and not like this new Jedlik().hashkey('KEY-NAME', 'KEY-VALUE').

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions