Discover Packages
github.com/robloxapi/rbxfile
errors
package
Version:
v0.6.5
Opens a new window with list of versions in this module.
Published: Feb 14, 2023
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
Documentation
¶
The errors package provides additional error primitives.
Union receives a number of errors and combines them into one Errors. Any errs
that are Errors are concatenated directly. Returns nil if all errs are nil or
empty.
Errors is a list of errors.
Append returns errs with each err appended to it. Arguments that are nil are
skipped.
Errors formats the list by separating each message with a newline. Each
produced line, including lines within messages, is prefixed with a tab.
Return prepares errs to be returned by a function by returning nil if errs is
empty.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.