Open
Description
The failures in runtime/vm/kernel_binary.cc are predefined strings. For example:
sdk/runtime/vm/kernel_binary.cc
Line 146 in ad9a13a
However, this makes the error messages somewhat uninformative in the case where the user of the dart_api.h
does not know precisely why the kernel file is invalid.
We should consider expanding these error messages with more details.
(This means changing all the call sites to free errors if they are not nullptr
.)
Context: