/**
 * Throws an error.
 *
 * @param error - Error to throw.
 */
export const throwError = (error: Error): never => {
	throw error;
};
