casbin: github.com/casbin/casbin/errors Index | Files

package errors

import "github.com/casbin/casbin/errors"

Index

Package Files

rbac_errors.go

Variables

var (
    ERR_NAME_NOT_FOUND       = errors.New("error: name does not exist")
    ERR_DOMAIN_PARAMETER     = errors.New("error: domain should be 1 parameter")
    ERR_NAMES12_NOT_FOUND    = errors.New("error: name1 or name2 does not exist")
    ERR_USE_DOMAIN_PARAMETER = errors.New("error: useDomain should be 1 parameter")
)

Global errors for rbac defined here

Package errors imports 1 packages (graph) and is imported by 1 packages. Updated 2020-07-02. Refresh now. Tools for package owners.