The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

VM::Dreamer::Error

SYNOPSIS

missing_term($term) invalid_term( $term, $value );

DESCRIPTION

Provides robust error messages to the user

SUBROUTINES

missing_term

Takes a key which wasn't included in the machine definition and returns a string indicating this. Consumed by VM::Dreamer::Validate.

invalid_term

Used to return an error message when a definition term has a value which is outside the acceptable range. Takes the term (e.g. base, op_code_width or operand_width) and the offending value. Returns an error message saying what the offendng term was, what the boundaries are for the term adn what the actual value was.

AUTHOR

William Stevenson <william at coders dot coop>

SEE ALSO

VM::Dreamer::Validate

COPYRIGHT AND LICENSE

This software is Copyright (c) 2013 by William Stevenson.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)