
Security News
Rspack Introduces Rslint, a TypeScript-First Linter Written in Go
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
An experimental library for declarative exception handling in Ruby.
Inspired by Rails's declarative rescue_from method, this is a bit of an experimental attempt to try something similar that can be used with any Ruby class, as well as to just mess around with a little meta-programming.
class RemoteUser
include RescueAny
rescue_any RuntimeError, on: [:create, :update, :delete], with: lambda {|ex| puts 'ohoh: ' + ex.message }
def create
raise RuntimeError.new("raised by #create")
end
def update
raise RuntimeError.new("raised by #update")
end
def delete
raise RuntimeError.new("raised by #delete")
end
end
Feel free to contribute or correct, just:
Copyright (c) 2013, Erik Eide and Contributors.
This project is licensed under the MIT License.
FAQs
Unknown package
We found that rescue-any demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Rspack launches Rslint, a fast TypeScript-first linter built on typescript-go, joining in on the trend of toolchains creating their own linters.
Security News
Hacker Demonstrates How Easy It Is To Steal Data From Popular Password Managers
Security News
Oxlint’s new preview brings type-aware linting powered by typescript-go, combining advanced TypeScript rules with native-speed performance.