api clients: return data, error, no status
jellyseerr already did this, but it's been standardised a little more. Mediabrowser uses it's own genericErr function and error types due to being a separate package, while jellyseerr and ombi now share errors defined in common/.
This commit is contained in:
+5
-1
@@ -1,3 +1,7 @@
|
||||
module github.com/hrfee/jfa-go/common
|
||||
|
||||
go 1.15
|
||||
replace github.com/hrfee/jfa-go/logmessages => ../logmessages
|
||||
|
||||
go 1.22.4
|
||||
|
||||
require github.com/hrfee/jfa-go/logmessages v0.0.0-20240805130902-86c37fb4237b
|
||||
|
||||
Reference in New Issue
Block a user