throwError should be able to take string or Error (#41666)
throwError should be able to take string or Error (#41666)

https://jasmine.github.io/api/3.5/SpyStrategy.html
https://yaqs.corp.google.com/eng/q/5985225959145472?search_query_record_key=ahFzfmdvb2dsZS5jb206eWFxc3IeCxIRU2VhcmNoUXVlcnlSZWNvcmQYgIDI2cbi1goMogEDZW5n
mcliment/DefinitelyTyped,georgemarshall/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped,georgemarshall/DefinitelyTyped,markogresak/DefinitelyTyped,georgemarshall/DefinitelyTyped,dsebastien/DefinitelyTyped