Skip to content

Instantly share code, notes, and snippets.

@frankmullenger
Created July 13, 2012 02:52
Show Gist options
  • Save frankmullenger/3102396 to your computer and use it in GitHub Desktop.
Save frankmullenger/3102396 to your computer and use it in GitHub Desktop.
Validation Result
<?php
$result = new ValidationResult();
$result->error(
'Some message',
'VariationsDisabledError'
);
return $result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment