{"version":3,"file":"NoRootContainerError.mjs","names":[],"sources":["../../../../src/requester/results/error/NoRootContainerError.ts"],"sourcesContent":["import type { Resource } from \"@ldo/connected\";\nimport { ResourceError } from \"@ldo/connected\";\n\n/**\n * A NoncompliantPodError is returned when the server responded in a way that is\n * not compliant with the Solid specification.\n */\nexport class NoRootContainerError<\n  ResourceType extends Resource,\n> extends ResourceError<ResourceType> {\n  readonly type = \"noRootContainerError\" as const;\n\n  /**\n   * @param resource - the requested resource\n   * @param message - a custom message for the error\n   */\n  constructor(resource: ResourceType) {\n    super(resource, `${resource.uri} has not root container.`);\n  }\n}\n"],"mappings":";;;;;;AAOA,IAAa,uBAAb,cAEU,cAA4B;;;;;CAOpC,YAAY,UAAwB;AAClC,QAAM,UAAU,GAAG,SAAS,IAAI,0BAA0B;AAP5D,OAAS,OAAO"}