summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--internal/output/output.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/output/output.go b/internal/output/output.go
index 1e1e34e..a9a1036 100644
--- a/internal/output/output.go
+++ b/internal/output/output.go
@@ -104,6 +104,9 @@ type ErrorResponse struct {
104 104
105func (r ErrorResponse) IsError() bool { return true } 105func (r ErrorResponse) IsError() bool { return true }
106 106
107// Error implements the error interface for compatibility with v1 code
108func (r *ErrorResponse) Error() string { return r.Message }
109
107// Error codes 110// Error codes
108const ( 111const (
109 ErrInvalidPath = "INVALID_PATH" 112 ErrInvalidPath = "INVALID_PATH"