package DX::Step::MarkAsExhaustion;

use DX::Class;

with 'DX::Role::Step';

sub apply_to {
  my ($self, $ss) = @_;
  trace exhaustion => [ statement => [ [ symbol => 'exhaustion' ] ] ];
  $ss->but(
    is_solution_state => 0,
    is_exhaustion_state => 1,
    next_step => undef,
  );
}

1;
