IsErrorObject returns true if the object with a given name is a javascript error object, false otherwise
(name string)
| 214 | // IsErrorObject returns true if the object with a |
| 215 | // given name is a javascript error object, false otherwise |
| 216 | func (p *Plugin) IsErrorObject(name string) bool { |
| 217 | return p.GetTypeObject(name) == "ErrorObject" |
| 218 | } |
| 219 | |
| 220 | // GetObject returns an interface containing the value of the object by its name |
| 221 | func (p *Plugin) GetObject(name string) (interface{}, error) { |
nothing calls this directly
no test coverage detected