Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark derived exceptions obsolete #694

Closed
wants to merge 3 commits into from
Closed

Conversation

karb0f0s
Copy link
Member

@karb0f0s karb0f0s commented May 7, 2018

Mark exceptions obsolete

  • mark InvalidGameShortNameException as obsolete
  • mark InvalidParameterException as obsolete
  • mark InvalidQueryIdException as obsolete
  • mark InvalidStickerDimensionsException as obsolete
  • mark InvalidStickerEmojisException as obsolete
  • mark InvalidStickerSetNameException as obsolete
  • mark InvalidUserIdException as obsolete
  • mark ChatNotFoundException as obsolete
  • mark ContactRequestException as obsolete
  • mark MessageIsNotModifiedException as obsolete
  • mark StickerSetNameExistsException as obsolete
  • mark StickerSetNotModifiedException as obsolete
  • mark UserNotFoundException as obsolete
  • mark ChatNotInitiatedException as obsolete

Change types

  • change BadRequestException type to base class
  • change ForbiddenException type to base class

#657 #681 #646

Mark exceptions obsolete

- mark `InvalidGameShortNameException` as obsolete
- mark `InvalidParameterException` as obsolete
- mark `InvalidQueryIdException` as obsolete
- mark `InvalidStickerDimensionsException` as obsolete
- mark `InvalidStickerEmojisException` as obsolete
- mark `InvalidStickerSetNameException` as obsolete
- mark `InvalidUserIdException` as obsolete
- mark `ChatNotFoundException` as obsolete
- mark `ContactRequestException` as obsolete
- mark `MessageIsNotModifiedException` as obsolete
- mark `StickerSetNameExistsException` as obsolete
- mark `StickerSetNotModifiedException` as obsolete
- mark `UserNotFoundException` as obsolete
- mark `ChatNotInitiatedException` as obsolete
- change `BadRequestException` type to base class
- change `ForbiddenException` type to base class
@karb0f0s karb0f0s closed this Jun 15, 2018
@karb0f0s karb0f0s deleted the deprecate_exceptions branch June 20, 2018 16:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant