how do you create validation for custom component?
08/09/2022, 11:12 PM
08/10/2022, 7:40 AM
i mean argument validation
08/10/2022, 9:06 PM
Guard conditionals and unit tests. Custom components are written in your preferred language: write code in the constructor that validates parameters as necessary. Throw ResourceError in unrecoverable situations.