diff --git a/src/lib.rs b/src/lib.rs
index 733c262a..de5f21a2 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -114,6 +114,9 @@ pub async fn send_ipc_command(
///
/// This enum provides variants for frequently used MPV commands, which can be converted to their
/// string equivalents using the `as_str` method.
+///
+/// # Errors
+/// Returns an error if the connection to the socket fails or the command execution encounters issues.
#[derive(Debug)]
pub enum MpvCommand {
/// Sets a property to a specified value in MPV.
@@ -168,6 +171,9 @@ impl MpvCommand {
///
/// # Returns
/// A `Result` containing the response data.
+///
+/// # Errors
+/// Returns an error if the connection to the socket fails or the command execution encounters issues.
pub async fn set_property(
property: &str,
value: &Value,
@@ -188,6 +194,9 @@ pub async fn set_property(
///
/// # Returns
/// A `Result` containing the response data.
+///
+/// # Errors
+/// Returns an error if the connection to the socket fails or the command execution encounters issues.
pub async fn playlist_next(socket_path: Option<&str>) -> io::Result