web_lib

Common web application libraries
git clone https://radroots.dev/git/web_lib.git
Log | Files | Refs | LICENSE

error.ts (351B)


      1 export const cl_http_error = {
      2     init_failure: "error.client.http.init_failure",
      3     fetch_failure: "error.client.http.fetch_failure",
      4     fetch_image_failure: "error.client.http.fetch_image_failure"
      5 } as const;
      6 
      7 export type ClientHttpError = keyof typeof cl_http_error;
      8 export type ClientHttpErrorMessage = (typeof cl_http_error)[ClientHttpError];