WIP: Custom error formatting