Skip to content

Conversation

flynnguy
Copy link

@flynnguy flynnguy commented Feb 3, 2017

I added the Error() function to satisfy the error interface. Error string should be <Title> (Status) - <Detail>

I also had to modify badProblemType and badProblemTitle structs in the tests to add an Error() function. They currently return an empty string because those tests don't use it.

@ptman
Copy link

ptman commented Jul 24, 2019

This could be very useful. I did something similar myself before finding this library.

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