GitHub

DaffServerErrorStorageService

import { DaffServerErrorStorageService } from '@daffodil/core'

A storage service meant to be loaded into SSR contexts. It will always throw the DaffServerSideStorageError.

@Injectable()
class DaffServerErrorStorageService implements DaffPersistenceService {
  setItem(
    key: string
    value: any
  ): void
  getItem(key: string): any
  removeItem(key: string): any
  clear(): void
}

() Methods

setItem
void
Parameters
Parameterkey: string
Description
Parametervalue: any
Description
getItem
any
Parameters
Parameterkey: string
Description
removeItem
any
Parameters
Parameterkey: string
Description
clear
void