ProfileFetchRequiredException constructor
ProfileFetchRequiredException(
- ProfileFetch fetch, {
- required bool offline,
Implementation
ProfileFetchRequiredException(this.fetch, {required bool offline})
: super(
'fetch-required',
'Resolving needs to ${fetch.kind.wireValue} the Profile source '
'${fetch.git}${fetch.ref == null ? '' : ' for ${fetch.ref}'}, '
'and ${offline ? 'fetching is not allowed' : 'that fetch was not '
'allowed'}.',
);