method ServiceError.toServiceErrorimport { ServiceError } from "https://deno.land/x/natsws@v1.29.0/src/nats-base-client.ts"; toServiceError(msg: Msg): ServiceError | nullParametersmsg: MsgReturnsServiceError | null