Sounds like you've already found it.
ScriptEngineException.ErrorDetails
contains engine-specific error properties such as source location, script stack trace, etc. ClearScript currently exposes this information as a single formatted string because the underlying script engines are not consistent in terms of what information they make available in various error scenarios. Please let us know if your application requires access to individual error properties.