public IUavcanType ResolveType(int dtid, UavcanTypeKind kind) { return(TryResolveType(dtid, kind) ?? throw new Exception($"Type definition not found, ID = {dtid}.")); }
public IUavcanType ResolveType(int dataTypeId, UavcanTypeKind typeKind) { return(TryResolveType(dataTypeId, typeKind) ?? throw new InvalidOperationException($"Cannot resolve type with ID = {dataTypeId}.")); }