返回可观察对象并向订阅者抛出错误 返回可观察对象并向订阅者抛出错误import { throwError } from "rxjs"throwError("发生了未知错误").subscribe({ error: console.log })