Comments (3)
#15 의 경우, 예외 발생시 str 반환, 정상 동작시 tuple 반환으로 했는데, 이렇게 할 경우 caller 입장에서는 에러 여부를 반환 타입을 체크해서 확인해야 해서 직관성이 떨어져 보입니다.
이러한 문제는 다른 api들 에서도 공통적으로 보이는 듯 해서 #21 를 새로 열었습니다.
from pytelegrambotapi.
네 이 부분 필요할 것 같습니다. utils.py 파일 안에 넣으실 껀가요?
from pytelegrambotapi.
일단 구현완료!
그러나 스레드에는 적용 안됨...
@bot.set_error_handler(self, error_handler_echo)
def handler_echo(...):
pass
def error_handler_echo(e, message):
pass
from pytelegrambotapi.
Related Issues (12)
- 스터디룸 리스트 출력 기능 구현 HOT 2
- 스터디룸 리스트 출력 서버 사이드 작성
- 보안 관련 뉴스 사이트 피드 기능 HOT 5
- CVE 검색 기능 HOT 1
- /help 정의 HOT 8
- Wiki 작성 HOT 5
- 도서관 도서 검색기능 HOT 5
- 세종사회봉사 기능 HOT 1
- 우산 챙기렴 기능 HOT 7
- 이스터 에그 HOT 2
- 기본 파일, 폴더 생성
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pytelegrambotapi.