Comments (3)
@ATechAdventurer started using the pattern above, in combination with a centralized list of constant error codes on #9 so I'm going to close this and use that pattern going forward
from servertap.
I'm good with option 1.
from servertap.
Well this is pretty neat. If you do throw new InternalServerErrorResponse("error: The server has whitelist disabled");
instead of ctx.json("error: The server has whitelist disabled");
You get an HTTP 500 Internal Server Error
status code and a body of:
{
"title": "error: The server has whitelist disabled",
"status": 500,
"type": "https://javalin.io/documentation#internalservererrorresponse",
"details": []
}
from servertap.
Related Issues (20)
- Add new route to get all advancements for a player
- It seems that the current servertap version is not compatible with version 1.18.2 of Arclight.
- failed to find class org/conscrypt/CryptoUpcalls HOT 3
- I'm use 'POST /v1/server/exec' and some command is dont have Response HOT 3
- internal server error when executing "list" through /server/exec
- >....failed to find class org/conscrypt/CryptoUpcalls HOT 4
- 1.20.+ HOT 2
- plugin turn red when i change the port HOT 13
- Error related to Player HOT 1
- [18:45:15 WARN]: [io.javalin.Javalin] Uncaught exception HOT 1
- Support editing luckperms via ServerTap
- BungeeCord and Velocity support
- ServerTap Broken With Latest Paper Version (When Using TikFinity Minecraft Plugin) HOT 7
- Java Error when trying to download world - Server Tap 0.5.3 - Paper 1.20.1 HOT 2
- Uncaught Exception - Error occurred while executing a command HOT 2
- Request: Log IP of the requests originated from HOT 3
- Could not pass event PlayerQuitEvent to ServerTap v0.6.1 HOT 1
- unable to run plugin on server HOT 1
- ScoreboardManager is null at the start of the server
- Whitelist & De-Whitelist
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 servertap.