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:
Linus Groh 2021-06-26 19:06:55 +01:00
commit dbda5a9a4c
Notes: sideshowbarker 2024-07-18 11:28:29 +09:00
4 changed files with 17 additions and 17 deletions

View file

@ -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>