Pkg
Errors

Errors

Explore the following sections to learn more:

errors

import "github.com/gemini-oss/rego/pkg/common/errors"

pkg/common/errors/errors.go

Index

func New

func New(code int, msg string) error

type CustomError

type CustomError struct {
    Code int
    Err  error
}

func (*CustomError) Error

func (e *CustomError) Error() string

Generated by gomarkdoc