Skip to content

Expand discussion on when to use #expect vs. #requireΒ #935

@briancroom

Description

@briancroom

The Expectations article briefly describes the behavioral difference between #expect and #require, but doesn't elaborate much on how to decide which one to use. I keep seeing people coming around and asking for advice about this, so it would be nice to expand this discussion a bit more.

Metadata

Metadata

Labels

documentationπŸ“š Improvements or additions to documentationenhancementNew feature or request

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions