mirror of
https://github.com/grafana/grafana.git
synced 2024-11-29 12:14:08 -06:00
d4cfbd9fd3
* structure dtos and private methods * add basic LDAP service * use LDAP service in ldap debug API * lower non fatal error * remove unused globals * wip * remove final globals * fix tests to use cfg enabled * restructure errors * remove logger from globals * use ldap service in authn * use ldap service in context handler * fix failed tests * fix ldap middleware provides * fix provides in auth_test.go
12 lines
211 B
Go
12 lines
211 B
Go
package api
|
|
|
|
import "fmt"
|
|
|
|
type OrganizationNotFoundError struct {
|
|
OrgID int64
|
|
}
|
|
|
|
func (e *OrganizationNotFoundError) Error() string {
|
|
return fmt.Sprintf("unable to find organization with ID '%d'", e.OrgID)
|
|
}
|