Skip to content

Conversation

@duncan412
Copy link

No description provided.

@hyperized
Copy link
Owner

Hi @duncan412,

I'm not willing to change the interface on this to return a string, I don't want to burden the client with having to parse both.

I would accept throwing an exception, is that something that you could do?

@hyperized
Copy link
Owner

Come to think of it, alternatively, I would also accept having a method that you can use to retrieve the error code from that you can optionally call.

@duncan412
Copy link
Author

Sorry for my late response! I reverted my changes and added a way to catch the exception and get information from it. Could this work for you?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants