exceptionManager

package
v0.0.13-alpha Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddPrivateError

func AddPrivateError(description string, error_type errorTypes.ERROR_TYPE)

AddPrivateError adds a private error to the exception manager. It takes a description string and an error type as parameters. The private error is created with the given description and type, and then appended to the list of private errors.

func AddPublicError

func AddPublicError(description string, error_type errorTypes.ERROR_TYPE)

AddPublicError adds a public error to the list of public errors. It takes a description string and an error type as parameters. The description parameter specifies the description of the error. The error_type parameter specifies the type of the error.

func GetPrivateErrors

func GetPrivateErrors() []errorTypes.PrivateError

GetPrivateErrors returns a slice of private errors. It retrieves the private_errors variable from the ExceptionManager package.

func GetPublicErrors

func GetPublicErrors() []errorTypes.PublicError

GetPublicErrors returns a slice of public errors.

Types

This section is empty.

Jump to

Keyboard shortcuts

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