William Stevenson > VM-Dreamer > VM::Dreamer::Error

Download:
Dreamer/VM-Dreamer-0.851.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.851   Source  

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)
syntax highlighting: