Wouldn't it make more sense to swap the two, i.e., ``s"${error.getClass()} - ${error.getMessage()}"? It's up to you.