Using a specific file for the Error class. Resolving incompatibility with the 'sbt compile stage' command.