Function OwnedRasterImportResult.error

Public error category.

OwnedRasterImportError error() pure nothrow @property @nogc @safe const;

Example

Example reading the default import error state.

import raster;

OwnedRasterImportResult result;
assert(result.error == OwnedRasterImportError.internalConstructionFailure);