VM::Dreamer::Error
missing_term($term) invalid_term( $term, $value );
Provides robust error messages to the user
Takes a key which wasn't included in the machine definition and returns a string indicating this. Consumed by VM::Dreamer::Validate.
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.
William Stevenson <william at coders dot coop>
VM::Dreamer::Validate
This software is Copyright (c) 2013 by William Stevenson.
This is free software, licensed under:
The Artistic License 2.0 (GPL Compatible)
To install VM::Dreamer, copy and paste the appropriate command in to your terminal.
cpanm
cpanm VM::Dreamer
CPAN shell
perl -MCPAN -e shell install VM::Dreamer
For more information on module installation, please visit the detailed CPAN module installation guide.