Skip to content

418 I'm a teapot

An April Fool’s joke from 1998 indicating the server is a teapot and cannot brew coffee.

Do not use this unless you are building an easter egg. It’s an April Fools’ joke.

import { HttpException, get } from 'shokupan';
export const getResource = get('/resource', () => {
throw new HttpException('I\'m a teapot', 418);
});