Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Issue with errors #23

Closed
milani opened this Issue Aug 30, 2011 · 1 comment

Comments

Projects
None yet
2 participants

milani commented Aug 30, 2011

I think the interface you used to implement errors is not satisfactory.

It's better to return errors as objects with error number and a message. Also nodegit.error should contain some constants to recognize type of errors for example one would use it like this: if( err == error.NOTAREPO ) ...

@ghost ghost assigned faceleg Feb 27, 2013

Contributor

faceleg commented Feb 27, 2013

Discussion moved to tbranyen#25

@faceleg faceleg closed this Feb 27, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment