9245e2593b
* MF-1368 - Add internal http api package for query params reading Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix comments Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix comments Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Fix reviews Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Use internal/http and internalhttp alias Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Mv errors types to pkg Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Use httputil/query.go and remove aliases Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add blank lines after error definitions Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Add ReadBoolValueQuery Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Mv readBoolValueQuery Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * User ErrNotFoundParam instead of pointer Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Revert ReadUintQuery to use default values Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> * Use default values for all query readers Signed-off-by: Manuel Imperiale <manuel.imperiale@gmail.com> |
||
---|---|---|
.. | ||
README.md | ||
errors.go | ||
errors_test.go | ||
types.go |
README.md
Errors
errors
package serve to build an arbitrary long error chain in order to capture errors returned from nested service calls.
errors
package contains the custom Go error
interface implementation, Error
. You use the Error
interface to wrap two errors in a containing error as well as to test recursively if a given error contains some other error.