package
Version:
v0.0.0-...-2ecc584
Opens a new window with list of versions in this module.
Published: Apr 10, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
errorCodeForError returns the errorCode and a specific error message for given error.
K6Error is a helper struct that enhances Go errors with custom k6-specific
error-codes and more user-readable error messages.
NewK6Error is the constructor for K6Error
Error implements the `error` interface, so K6Errors are normal Go errors.
Unwrap implements the `xerrors.Wrapper` interface, so K6Errors are a bit
future-proof Go 2 errors.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.