This package provides a custom error implementation
github.com/heidelmann91/custom-error
heidelmann91/custom-error