mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:57:46 +00:00
LibJS: Move install_error_cause() from Object to Error
This is only used by Error and its subclasses, so it doesn't need to be available to all objects.
This commit is contained in:
parent
a63cc2c6b9
commit
dbda5a9a4c
4 changed files with 17 additions and 17 deletions
|
@ -135,8 +135,6 @@ public:
|
|||
IndexedProperties& indexed_properties() { return m_indexed_properties; }
|
||||
void set_indexed_property_elements(Vector<Value>&& values) { m_indexed_properties = IndexedProperties(move(values)); }
|
||||
|
||||
void install_error_cause(Value options);
|
||||
|
||||
[[nodiscard]] Value invoke_internal(const StringOrSymbol& property_name, Optional<MarkedValueList> arguments);
|
||||
|
||||
template<typename... Args>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue