Pass request into Error.
Updated docs.