package
Version:
v1.5.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2025
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
GetStyle returns the appropriate style for the given error type
Error represents an application error with additional context
New creates a new error with the given type and message
GetMessage returns the error message
GetType returns the error type
Hide makes the error invisible
IsVisible returns whether the error is currently visible
Show makes the error visible
ErrorType represents different types of errors that can occur
const (
ErrorTypeValidation ErrorType = iota
ErrorTypeFileSystem
ErrorTypePermission
ErrorTypeConfiguration
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.