Skip to content

Commit

Permalink
adds comments to remaining error method
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoPedroAssis authored and bandreghetti committed Mar 26, 2021
1 parent 7dbeb63 commit 3c070cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions errors/errors.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ func (c *CCError) Message() string {
return c.err.Error()
}

// Implements the error interface
func (c *CCError) Error() string {
return string(c.status) + c.err.Error()
}
Expand Down

0 comments on commit 3c070cd

Please sign in to comment.