func (r authResponse) Error() error {
	return r.err
}
Error returns error generated by the module if CheckResponse() returns true.
package integration
import (
	"net/http"
)
type adminManager interface {
	GetInternalAccessToken() (string, error)
}
type authResponse struct {
	checkResponse bool
	err           error
	result        interface{}
	status        int
	integration, hook string
}
func (r authResponse) CheckResponse() bool {
	return r.checkResponse
}