spenserblack / github-stats-rs

A tool for using Github's API
Apache License 2.0
1 stars 5 forks source link

Return error when required values are None #14

Closed slohse closed 4 years ago

slohse commented 4 years ago

Defines an Error type for Search and returns it when search area or query are none. This addresses #5.

I have to admit to StackOverflow-ing the error type definition. I don't know if an enum with more differentiated error types would be better and more future proof here.