Discover Packages
github.com/thecodingmachine/gotenberg
internal
pkg
xerror
package
Version:
v0.0.0-...-5a98790
Opens a new window with list of versions in this module.
Published: Jul 25, 2021
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0 modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Invalid returns a xerror.Error.
Should be used when an input
is wrong.
Message returns the human-readable message of the error, if available.
Otherwise returns a generic error message.
New returns a xerror.Error.
Should be used for wrapping an error
at the end of a function.
Op returns the logical operation of the error, if available.
Otherwise returns an empty string.
Timeout returns a xerror.Error.
Should be used when a timeout occurs.
Error defines our standard application
error.
Error returns the string representation of the error message.
ErrorCode is machine-readable error code.
Code returns the code of the root error, if available.
Otherwise returns InternalCode.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.