Overwrite request.method. Return error in createError function.