Skip to content

Commit

Permalink
Update docs/creation/static-constructor.md
Browse files Browse the repository at this point in the history
Co-authored-by: Ryan A. Hagenson <[email protected]>
  • Loading branch information
SeanTAllen and rhagenson authored Jan 21, 2024
1 parent a3e1bc8 commit c8d1518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/creation/static-constructor.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hide:

## Problem

You want to construct an object or return a meaningful error message. Unfortunately, in Pony there's no way to do that. Pony constructors always return an initialized instance of their class unless, the constructor is partial in which case nothing is return as we jump to the nearest error handler.
You want to construct an object or return a meaningful error message. Unfortunately, in Pony there's no way to do that. Pony constructors always return an initialized instance of their class unless, the constructor is partial in which case nothing is returned as we jump to the nearest error handler.

```pony
class Foo
Expand Down

0 comments on commit c8d1518

Please sign in to comment.