From 803dc59cdd399a57ac3d0b6fc4dcea3b9d49d2c9 Mon Sep 17 00:00:00 2001 From: Dan <14043624+delivrance@users.noreply.github.com> Date: Wed, 3 Jan 2018 18:19:08 +0100 Subject: [PATCH] Rename errors --- .../errors/{400_bad_request.rst => BadRequest.rst} | 0 docs/source/errors/{420_flood.rst => Flood.rst} | 0 ...al_server_error.rst => InternalServerError.rst} | 0 .../errors/{303_see_other.rst => SeeOther.rst} | 0 .../{401_unauthorized.rst => Unauthorized.rst} | 0 .../{520_unknown_error.rst => UnknownError.rst} | 0 docs/source/pyrogram/Error.rst | 14 +++++++------- 7 files changed, 7 insertions(+), 7 deletions(-) rename docs/source/errors/{400_bad_request.rst => BadRequest.rst} (100%) rename docs/source/errors/{420_flood.rst => Flood.rst} (100%) rename docs/source/errors/{500_internal_server_error.rst => InternalServerError.rst} (100%) rename docs/source/errors/{303_see_other.rst => SeeOther.rst} (100%) rename docs/source/errors/{401_unauthorized.rst => Unauthorized.rst} (100%) rename docs/source/errors/{520_unknown_error.rst => UnknownError.rst} (100%) diff --git a/docs/source/errors/400_bad_request.rst b/docs/source/errors/BadRequest.rst similarity index 100% rename from docs/source/errors/400_bad_request.rst rename to docs/source/errors/BadRequest.rst diff --git a/docs/source/errors/420_flood.rst b/docs/source/errors/Flood.rst similarity index 100% rename from docs/source/errors/420_flood.rst rename to docs/source/errors/Flood.rst diff --git a/docs/source/errors/500_internal_server_error.rst b/docs/source/errors/InternalServerError.rst similarity index 100% rename from docs/source/errors/500_internal_server_error.rst rename to docs/source/errors/InternalServerError.rst diff --git a/docs/source/errors/303_see_other.rst b/docs/source/errors/SeeOther.rst similarity index 100% rename from docs/source/errors/303_see_other.rst rename to docs/source/errors/SeeOther.rst diff --git a/docs/source/errors/401_unauthorized.rst b/docs/source/errors/Unauthorized.rst similarity index 100% rename from docs/source/errors/401_unauthorized.rst rename to docs/source/errors/Unauthorized.rst diff --git a/docs/source/errors/520_unknown_error.rst b/docs/source/errors/UnknownError.rst similarity index 100% rename from docs/source/errors/520_unknown_error.rst rename to docs/source/errors/UnknownError.rst diff --git a/docs/source/pyrogram/Error.rst b/docs/source/pyrogram/Error.rst index af59b1e5..87f3e1a0 100644 --- a/docs/source/pyrogram/Error.rst +++ b/docs/source/pyrogram/Error.rst @@ -1,14 +1,14 @@ Error ===== -.. autoexception:: pyrogram.Error +.. autoexception:: pyrogram.api.errors.error.Error :members: :show-inheritance: .. toctree:: - ../errors/303_see_other - ../errors/400_bad_request - ../errors/401_unauthorized - ../errors/420_flood - ../errors/500_internal_server_error - ../errors/520_unknown_error + ../errors/SeeOther + ../errors/BadRequest + ../errors/Unauthorized + ../errors/Flood + ../errors/InternalServerError + ../errors/UnknownError