debian-forge-composer/internal/ostree
Achilleas Koutsou c68850fa26 ostree: return cusotm errors from validation functions
Errors implement the error interface, so we can return them as generic
errors. Callers can test the type only if they want to determine the
failure type.

The error types that can be returned from each function are documented
in the docstring.
2022-02-23 11:08:24 +01:00
..
errors.go ostree: custom errors for ostree parameter validation 2022-02-23 11:08:24 +01:00
ostree.go ostree: return cusotm errors from validation functions 2022-02-23 11:08:24 +01:00
ostree_test.go ostree: add test for VerifyRef() 2021-06-18 14:02:09 +01:00