Add blocking error type for gateway usage #591
Labels
kind/enhancement
A net-new feature or improvement to an existing feature
need/triage
Needs initial labeling and prioritization
Right now we don't use proper error types to convey that some content requested by a gateway was blocked. Instead we have this string based checking tied to nopfs
boxo/gateway/errors.go
Lines 211 to 216 in b101ba0
@MichaelMure recently let me know that:
So it seems to me like this should be bundled into boxo tooling.
@MichaelMure let me know if there's any context I missed.
cc @lidel
The text was updated successfully, but these errors were encountered: