@scaleway/sdk-client
Version:
Scaleway SDK Client
12 lines (11 loc) • 425 B
TypeScript
import type { JSONObject } from '../../../helpers/json.js';
import { ScalewayError } from '../scw-error.js';
import { ResourceNotFoundError } from '../standard/resource-not-found-error.js';
/**
* UnknownResource error is only returned by the instance API.
*
* @public
*/
export declare class UnknownResourceMapper {
static fromJSON(status: number, obj: Readonly<JSONObject>): ResourceNotFoundError | ScalewayError;
}