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.
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.