Fixed desired directory structure.

This commit is contained in:
Patrick Jones
2020-10-06 01:28:10 -07:00
parent 802bddef7c
commit cdebe8a098
4 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package externalaccount
import "fmt"
//Struct for handling OAuth related error responses as stated in rfc6749#5.2
type Error struct {
Code string
URI string
Description string
}
func (err *Error) Error() string {
return fmt.Sprintf("got error code %s from %s: %s", err.Code, err.URI, err.Description)
}