{#await fetchStaffLdb(station)} Loading {:then data} Loaded {JSON.stringify(data)} {:catch} Error Loading {/await} {#if error.state} {#if error.name === 'unauthorized'}
Error: {error.name.toLocaleUpperCase()}