/** * (c) Meta Platforms, Inc. and affiliates. Confidential and proprietary. * * @format * @oncall static_docs */ export declare abstract class StaticDocsError extends Error { } /** * Thrown when a code-snippet reference is known to be invalid. * This may be because the author has mis-spelt the filename for example * but may also be because the destination file no longer exists. * * For this reason, if a previously cached value of the snippet is known, * it should be used as a fallback to prevent breaking produciton builds. * * If no previous version of the snippet is known, then the build should be failed, * as it must be a new (and invalid) snippet. */ export declare class InvalidReferenceError extends StaticDocsError { } /** * Thrown when no valid auth token is present. * * To allow for offline / convenient use, fallback to previously cached values * of the requested resource when available, only failing the build when * there is no alternative. */ export declare class UnauthenticatedError extends StaticDocsError { } /** * Thrown when intern can't be reached. * * To allow for offline / convenient use, fallback to previously cached values * of the requested resource when available, only failing the build when * there is no alternative. */ export declare class OfflineError extends StaticDocsError { }