StackOverflow Questions for Tag: rescue

boddhisattva
boddhisattva

Reputation: 7390

How to catch the mocked infinite loop behavior and handle it with a rescue block using RSpec

Score: 1

Views: 416

Answers: 0

Read More
sagar junnarkar
sagar junnarkar

Reputation: 1270

How can I password-protect my /sidekiq route (i.e. require authentication for the Sidekiq::Web tool)?

Score: 65

Views: 29039

Answers: 10

Read More
DariusP
DariusP

Reputation: 513

Why do I get NoMethodError: undefined method `rescue' for #<Concurrent::Future:...>?

Score: 0

Views: 276

Answers: 1

Read More
xxjjnn
xxjjnn

Reputation: 15249

rails respond_to in controller rescue block

Score: 1

Views: 1826

Answers: 3

Read More
user2398029
user2398029

Reputation: 6947

How to abort a Ruby script when raising an Exception?

Score: 4

Views: 3614

Answers: 4

Read More
Matt
Matt

Reputation: 14048

Rescue all errors of a specific type inside a module

Score: 7

Views: 5449

Answers: 2

Read More
Phil Brockwell
Phil Brockwell

Reputation: 465

Ruby rescue exception during multiple methods

Score: 7

Views: 3825

Answers: 4

Read More
13aal
13aal

Reputation: 1674

Invalid next compile error

Score: 0

Views: 567

Answers: 1

Read More
boulder_ruby
boulder_ruby

Reputation: 39763

ruby rescue block

Score: 1

Views: 618

Answers: 2

Read More
GhostRider
GhostRider

Reputation: 2170

Correct syntax for rescue and next in a each loop

Score: 2

Views: 6115

Answers: 2

Read More
sferencik
sferencik

Reputation: 3249

Ruby rescue and abort

Score: 1

Views: 344

Answers: 0

Read More
Sid
Sid

Reputation: 6264

How does one use rescue in Ruby without the begin and end block

Score: 136

Views: 50992

Answers: 5

Read More
Rashmi Balkur
Rashmi Balkur

Reputation: 337

test coverage for rescue blocks in rspec

Score: 1

Views: 226

Answers: 0

Read More
WonderingBear
WonderingBear

Reputation:

For ASP.NET MVC Rescues View, how do we add ViewData fields?

Score: 0

Views: 304

Answers: 1

Read More
user1375096
user1375096

Reputation:

Does Ruby's $! hold value only in rescue block?

Score: 12

Views: 1873

Answers: 2

Read More
bobbie_j
bobbie_j

Reputation: 25

WATIR. Can you use Begin > Rescue within a function / method?

Score: 0

Views: 183

Answers: 1

Read More
pedz
pedz

Reputation: 2349

In Ruby, is there a Binding available that is created at the time of the exception available during the rescue?

Score: 0

Views: 94

Answers: 1

Read More
Tiago Cássio
Tiago Cássio

Reputation: 301

Use rescue_from on model concern

Score: 1

Views: 1249

Answers: 1

Read More
kenorb
kenorb

Reputation: 166833

How to implement custom option for Vagrant without having invalid option warning?

Score: 2

Views: 1513

Answers: 3

Read More
Slim yaw
Slim yaw

Reputation: 79

How to use rails rescue_from outside the controller

Score: 1

Views: 2222

Answers: 1

Read More
PreviousPage 1Next