mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +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
Notes:
sideshowbarker
2024-07-18 11:28:29 +09:00
Author: https://github.com/linusg
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