- * @param int|bool $error Whether there was an error.
- * Default '0'. Accepts '0' or '1'.
- * @param string $error_message Error message if an error occurred.
+ * @param mixed $error Whether there was an error.
+ * Default '0'. Accepts '0' or '1', true or false.
+ * @param string $error_message Error message if an error occurred.