Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 8def637075
Fetching contributors…

Cannot retrieve contributors at this time

33 lines (25 sloc) 0.694 kB
package oauth
import "fmt"
// Something went wrong with the callback (e.g., it wasn't recognized).
type callbackError struct {
Callback string
}
func (e *callbackError) Error() string {
return fmt.Sprintf("Callback not confirmed: %s", e.Callback)
}
// Something went wrong somewhere in our little dance with the server.
type danceError struct {
Where string
What string
}
func (e *danceError) Error() string {
return fmt.Sprintf("Error in %s: %s", e.Where, e.What)
}
// I was lazy or did something wrong.
type implementationError struct {
Where string
What string
}
func (e *implementationError) Error() string {
return fmt.Sprintf("%s unimplmented for %s", e.What, e.Where)
}
Jump to Line
Something went wrong with that request. Please try again.