<?php

namespace Enzyme\Axiom\Exceptions;

use Exception;

/**
 * Thrown when an atom cannot process the given value.
 */
class AtomException extends Exception
{
    public function __construct($atom_type, $value)
    {
        parent::__construct(
            "The atom {$atom_type} does not support the value {$value}"
        );
    }
}

<?php

namespace Enzyme\Axiom\Exceptions;

use Exception;

/**
 * Thrown when an atom cannot process the given value.
 */
class AtomException extends Exception
{
    public function __construct($atom_type, $value)
    {
        parent::__construct(
            "The atom '{$atom_type}' does not support the value '{$value}'."
        );
    }
}

Update the exception message on atom exceptions.
Update the exception message on atom exceptions.
