Document error object as Error type