Provides a generic test for failure on any status value.
// // #define FAILED(hr) (((HRESULT)(hr)) < 0) @pragma('vm:prefer-inline') bool FAILED(HRESULT result) => result < 0;