mirror of
https://github.com/sosedoff/pgweb.git
synced 2024-12-15 11:52:12 +03:00
20 lines
766 B
Go
20 lines
766 B
Go
|
package api
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
errNotConnected = errors.New("Not connected")
|
||
|
errNotPermitted = errors.New("Not permitted")
|
||
|
errConnStringRequired = errors.New("Connection string is required")
|
||
|
errInvalidConnString = errors.New("Invalid connection string")
|
||
|
errSessionRequired = errors.New("Session ID is required")
|
||
|
errSessionLocked = errors.New("Session is locked")
|
||
|
errURLRequired = errors.New("URL parameter is required")
|
||
|
errQueryRequired = errors.New("Query parameter is required")
|
||
|
errDatabaseNameRequired = errors.New("Database name is required")
|
||
|
errPgDumpNotFound = errors.New("pg_dump utility is not found")
|
||
|
errBackendConnectError = errors.New("Unable to connect to the auth backend")
|
||
|
)
|