Error message should be defined as array.