web_lib

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

error.ts (515B)


      1 export const cl_keystore_error = {
      2     idb_undefined: "error.client.keystore.idb_undefined",
      3     missing_key: "error.client.keystore.missing_key",
      4     corrupt_data: "error.client.keystore.corrupt_data",
      5     nostr_invalid_secret_key: "error.client.keystore.nostr_invalid_secret_key",
      6     nostr_no_results: "error.client.keystore.nostr_no_results"
      7 } as const;
      8 
      9 export type ClientKeystoreError = keyof typeof cl_keystore_error;
     10 export type ClientKeystoreErrorMessage = (typeof cl_keystore_error)[ClientKeystoreError];