{"id":19075819,"url":"https://github.com/xenoken/no_try","last_synced_at":"2026-05-20T07:30:17.114Z","repository":{"id":56835443,"uuid":"195102595","full_name":"xenoken/no_try","owner":"xenoken","description":"The foundation of a truly exception-free and error-free approach to programming.","archived":false,"fork":false,"pushed_at":"2019-07-03T18:12:25.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-02T18:17:23.828Z","etag":null,"topics":["dart","dartlang","exception-handling","try-catch"],"latest_commit_sha":null,"homepage":null,"language":"Dart","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/xenoken.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-03T17:50:44.000Z","updated_at":"2019-09-07T08:05:42.000Z","dependencies_parsed_at":"2022-09-24T06:02:21.641Z","dependency_job_id":null,"html_url":"https://github.com/xenoken/no_try","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoken%2Fno_try","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoken%2Fno_try/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoken%2Fno_try/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xenoken%2Fno_try/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xenoken","download_url":"https://codeload.github.com/xenoken/no_try/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240127089,"owners_count":19751938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dart","dartlang","exception-handling","try-catch"],"created_at":"2024-11-09T01:56:05.376Z","updated_at":"2026-05-20T07:30:17.055Z","avatar_url":"https://github.com/xenoken.png","language":"Dart","funding_links":[],"categories":[],"sub_categories":[],"readme":"Foundation for a exception-free approach to programing in Dart.\n\nNo more try-catch blocks and exception throwing. Only functions returning a _value_ on success and a _reason_ on failure.\n\n## Usage\n\nA simple usage example:\n\n```dart\nimport 'package:no_try/no_try.dart';\n\nResult\u003cbool, String\u003e execComputation(String arg) =\u003e arg.isNotEmpty\n    ? Result.success(true)\n    : Result.failed('Null argument was given.');\n\n\nvoid main() {\n  /// returns the actual value.\n  var result = execComputation('Hello World!');\n  print(result.success ? result.value : result.reason );\n\n  /// returns the reason the computation failed.\n  result = execComputation('');\n  print( result.success ? result.value : result.reason);\n}\n\n```\n\n## Features and bugs\n\nPlease file feature requests and bugs at the [issue tracker][tracker].\n\n[tracker]: http://github.com/xenoken/no_try/issues\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenoken%2Fno_try","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxenoken%2Fno_try","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxenoken%2Fno_try/lists"}