Enum kickstarter::validate::error::Error
[−]
[src]
pub enum Error { NotAlphaNumeric(String), Length(String, usize, usize), NotNumeric(String), NotLuhn10(String), InvalidAmount, CardExists, ProjectDoesNotExist, }
The error type for validation operations.
Variants
NotAlphaNumeric | The string should be alphanumeric and contain only underscores or dashes. |
Length | The string length was not within the provided bounds. |
NotNumeric | The string provided was not numeric. |
NotLuhn10 | The string did not pass the Luhn-10 test. |
InvalidAmount | The pledged amount was not more than zero dollars. |
CardExists | The credit card has already been used to back the desired project. |
ProjectDoesNotExist | The project being searched for does not exist. |