gmterrors

package
v8.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2025 License: Apache-2.0 Imports: 0 Imported by: 2

Documentation

Overview

Package gmterrors provides error handling for the gorm-multitenancy package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error is an error that contains a scheme and an error.

func New

func New(err error) *Error

New returns a new error with the given error.

func NewWithScheme

func NewWithScheme(scheme string, err error) *Error

NewWithScheme returns a new error with the given scheme and error.

func (*Error) Error

func (e *Error) Error() string

Error returns the error message.

func (*Error) Unwrap

func (e *Error) Unwrap() error

Unwrap returns the original error.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL