import {SubsonicErrorCode} from "../../enum/SubsonicErrorCode"; import {JsonResponder} from "./json-responder"; export class JsonPResponder { static renderError(code: SubsonicErrorCode, message: string, callback: string): string { const json = JsonResponder.renderError(code, message); return `${callback}(${json});`; } static createResponse(element: string | null): string { return ''; } }