Skip to content

Commit

Permalink
doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dragazo committed Oct 14, 2024
1 parent 7b749cd commit 1b30dbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ impl<'gc, 'a, 'b, C: CustomTypes<S>, S: System<C>> LookupGroup<'gc, 'a, 'b, C, S
/// The error promotion paradigm to use for certain types of runtime errors.
#[derive(Clone, Copy)]
pub enum ErrorScheme {
/// Emit errors as soft errors. This causes the error message to be returned as a [`Value::String`] object,
/// Emit errors as soft errors. This causes the error message to be returned as a [`Value::Text`] object,
/// as well as being stored in a corresponding last-error process-local variable.
Soft,
/// Emit errors as hard errors. This treats certain classes of typically soft errors as hard errors that
Expand Down

0 comments on commit 1b30dbf

Please sign in to comment.