[runtime] Add a function that properly convert a loader error into a MonoError.
commitb3f29317dc7b7de700bdb9fff1342517056ecaec
authorRodrigo Kumpera <kumpera@gmail.com>
Fri, 4 Jan 2013 22:23:01 +0000 (4 17:23 -0500)
committerRodrigo Kumpera <kumpera@gmail.com>
Fri, 4 Jan 2013 22:27:28 +0000 (4 17:27 -0500)
tree6907b505560f78fb3b572effe4f0202242917c4a
parent2dc7491e4e37fe1c96fe02bb2e3bcf2be7001e8f
[runtime] Add a function that properly convert a loader error into a MonoError.

mono-error.c: Add mono_error_set_from_loader_error to consume a loader error
and fill in the supplied MonoError. This both simplifies and enriches all conversions
we do due around the runtime.
mono/utils/mono-error-internals.h
mono/utils/mono-error.c