Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shedaniel/error-notifier
https://github.com/shedaniel/error-notifier
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/shedaniel/error-notifier
- Owner: shedaniel
- Created: 2022-08-14T13:03:39.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-17T14:09:58.000Z (4 months ago)
- Last Synced: 2024-09-17T17:39:57.764Z (4 months ago)
- Language: Java
- Size: 111 KB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Error Notifier
## Rationale
Fabric Loader's error handling is not very good, instead, it is **very bad**.Error Notifier is a simple project to provide a better error screen with little load time.
## Usage
Create a file called `error_notifier.json` in the resources folder.
Here is a simple example that depends on >=1.0.0 and <1.1.0 Fabric API, and breaks Java 17.
```json
{
"schemaVersion": 1,
"checks": [
{
"type": "depends",
"modId": "fabric",
"modName": "Fabric API",
"versions": ">=1.0.0 <1.1.0",
"url": "https://www.curseforge.com/minecraft/mc-mods/fabric-api/files/all/"
},
{
"type": "breaks",
"modId": "java",
"modName": "Java",
"versions": "17"
}
]
}
```### Advanced Usages
Make a class that implements `ErrorNotifier`, then add it using a service (In a file `META-INF/services/me.shedaniel.errornotifier.api.ErrorProvider`).