Comments (8)
Sure, it's good idea but are you sure that session expire is always the reason of this?
For example we can get Internet Server Error - is it expired session, invalid parameters or ea server error?
{"debug":"","string":"Internal Server Error (ut)","reason":"","code":"500"}
I think it should throw exceptions like invalidError("internet Sever Error (ut)") before we collect all errors (string/code) and classify.
from fut.
hi
I never had a session expire it's always server error
what is use is that
code:
while True:
try:
# your code
except (KeyError):
#reset variables if necesssary
time.sleep(5)
pass #if no other code is needed
else:
break
from fut.
I've just pushed commit with new exceptions:
ExpiredSession - raised when session has expired
InternalServerError - raised when server responses with "internal server error (ut)", that's probably because invalid parameters was provided.
UnknownError - everything else, please report full log if you get this.
also there is changed error description in login process.
PS. it should work but i havn't tested it :-)
from fut.
fut14.exceptions.UnknownError: {'string': 'Permission Denied', 'debug': '', 'reason': '', 'code': '461'}
I think it's du to a outbid.
from fut.
I have it if I did was bid in 1050 for example.
from fut.
Please report all new errors in issue #24
from fut.
Looks like there would much more different errors than i thought. What's your opinion about exceptions - we should create new exception class for every error or just keep one Fut14Error with code and description parameters?
from fut.
New exceptions per error I would suggest but just cos I rather managing them that way :D
from fut.
Related Issues (20)
- open source backend / frontend (cakephp) HOT 3
- Any API can check current money status?
- Any API can check current money status? HOT 2
- encounter captcha issue
- Quick buy at max price not working HOT 2
- Empty dicts HOT 2
- Login error HOT 1
- Safe for users that have received a warning? HOT 1
- player database fifa 19 HOT 16
- AttributeError: module 'fut' has no attribute 'Core' HOT 2
- FUT20 support HOT 9
- FUT20 Error on login HOT 2
- Wrong variable
- ValueError FUT20
- How to search for Uniform, Manager, or Badge auctions
- After I buy an item, how I set a price and send it to the tradePile? HOT 4
- Porting PHO
- Big error on login
- when you click on FUT menu squad battles options are not available
- Hi , how to contact you? HOT 1
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 fut.