ProfileLockChangeRequiredException.relock constructor

ProfileLockChangeRequiredException.relock(
  1. ProfileLockChange change
)

The refusal of WayfinderProfileResolver.relock, which keeps exactly the commits the lock pins, before it writes anything.

Implementation

ProfileLockChangeRequiredException.relock(this.change)
  : super(
      'lock-change-required',
      'Relocking keeps exactly the commits wayfinder.lock pins, so it '
          'cannot lock this configuration: ${change.reason}',
    );