@mcsb/api / Exports / ResourcesNotReadyError
Class: ResourcesNotReadyError
Error that is thrown when you attempt to use HypixelResources before it has fetched all data from the Hypixel API. This should never happen unless you are overriding the default HypixelResources
class, as the HypixelResources.create method will not return a new instance until all resources have been fetched.
Hierarchy
Error
↳
ResourcesNotReadyError
Table of contents
Constructors
Constructors
constructor
• new ResourcesNotReadyError(options?
)
Constructor for ResourcesNotReadyError
.
Parameters
Name | Type | Description |
---|---|---|
options? | ErrorOptions | Error options |
Overrides
Error.constructor