Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InvalidImageFileNameError ¶
type InvalidImageFileNameError struct {
// contains filtered or unexported fields
}
InvalidImageFileNameError is returned when a filename of an image could not be interpreted.
func NewInvalidImageFileNameError ¶
func NewInvalidImageFileNameError(fileName string) *InvalidImageFileNameError
func (*InvalidImageFileNameError) Error ¶
func (e *InvalidImageFileNameError) Error() string
type LoadImageError ¶
type LoadImageError struct {
// contains filtered or unexported fields
}
LoadImageError is returned when an image was unable to be loaded through the loader.
func NewLoadImageError ¶
func NewLoadImageError(modName, imagePath string, originalError error) *LoadImageError
func (*LoadImageError) Error ¶
func (e *LoadImageError) Error() string
func (*LoadImageError) Unwrap ¶
func (e *LoadImageError) Unwrap() error
type RenderError ¶
type RenderError struct {
// contains filtered or unexported fields
}
RenderError is the error wrapper returned by the renderer when any underlying error occurs while rendering an icon.
func NewRenderError ¶
func NewRenderError(icon transfer.RenderIcon, originalError error) *RenderError
func (*RenderError) Error ¶
func (e *RenderError) Error() string
func (*RenderError) Icon ¶
func (e *RenderError) Icon() transfer.RenderIcon
func (*RenderError) Unwrap ¶
func (e *RenderError) Unwrap() error
type UnknownModError ¶
type UnknownModError struct {
// contains filtered or unexported fields
}
UnknownModError is returned when the loader encounters an unknown mod.
func NewUnknownModError ¶
func NewUnknownModError(modName string) *UnknownModError
func (*UnknownModError) Error ¶
func (e *UnknownModError) Error() string
Click to show internal directories.
Click to hide internal directories.