fun fromErrorCode(errorCode: ErrorCode<*>, resourceLocation: String, locale: Locale): ErrorResource
Construct an error resource from a provided code.
errorCode - The code to get the resource bundle for
resourceLocation - The location in the JAR of the error code resource bundles