aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gleam/atom.gleam5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gleam/atom.gleam b/src/gleam/atom.gleam
index 46052b1..c8fc79c 100644
--- a/src/gleam/atom.gleam
+++ b/src/gleam/atom.gleam
@@ -15,7 +15,8 @@
///
pub external type Atom;
-/// Error returned when a given Atom does not currently exist
+/// An error returned when no atom is found in the virtual machine's atom table
+/// for a given string when calling the [`from_string`](#from_string) function.
pub type FromStringError {
AtomNotLoaded
}
@@ -23,7 +24,7 @@ pub type FromStringError {
/// Find an existing Atom for the given String.
///
/// If no atom is found in the virtual machine's atom table for the String then
-/// an gaerror is returned.
+/// an error is returned.
///
/// ## Examples
///