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.