Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/FoxxMD/multi-scrobbler. Scrobble plays from multiple sources to multiple clients docs.multi-scrobbler.app
deezer docker jellyfin koito lastfm listenbrainz maloja mopidy mpris music music-assistant plex scrobble self-hosted spotify subsonic tautulli youtube-music
Something went wrong. Try again.
467 B · 13 lines
TypeScript
1234567891011121314import type {ResponseError} from "superagent";
export const isSuperAgentResponseError = (e: any): e is ResponseError => { return typeof e === 'object' && ( ('timeout' in e && typeof e.timeout === 'boolean') || ('status' in e && (typeof e.status === 'number' || e.status === undefined) && 'response' in e && (typeof e.response === 'object' || e.response === undefined)) );}